Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008916/0.008916, allocations: 100.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 192.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 72.12 kB / 0.9509 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3489, allocations: 140.4 MB / 1.088 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002339/0.3513, allocations: 0.6107 MB / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3534, allocations: 1.114 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.3535, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.3536, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.3537, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3543, allocations: 123.6 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3545, allocations: 99.83 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3546, allocations: 11.97 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.3547, allocations: 27.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3548, allocations: 39.83 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3549, allocations: 8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.3549, allocations: 19.98 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.355, allocations: 11.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3551, allocations: 23.92 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3553, allocations: 87.72 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3553, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3553, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3553, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004585/0.3557, allocations: 369.2 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3558, allocations: 8.031 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.3559, allocations: 8.844 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.356, allocations: 168.4 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.356, allocations: 8.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3561, allocations: 4.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.3562, allocations: 38.25 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3562, allocations: 192 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3562, allocations: 11.94 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3562, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.3562, allocations: 7.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3566, allocations: 292.9 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.3567, allocations: 18.52 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.3567, allocations: 12.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.3567, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.3569, allocations: 63.33 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3569, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002028/0.3571, allocations: 61.59 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3571, allocations: 59.34 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.3572, allocations: 105.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3572, allocations: 29.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3573, allocations: 80.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3573, allocations: 19.83 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.3574, allocations: 29.69 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3575, allocations: 314.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3576, allocations: 35.92 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.3576, allocations: 46.56 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3578, allocations: 80.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3578, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000242/0.358, allocations: 143.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.3581, allocations: 41.78 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3581, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3581, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.3581, allocations: 7.875 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3581, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3583, allocations: 31.86 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.3584, allocations: 11.98 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.3584, allocations: 121.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.3585, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.3585, allocations: 3.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3585, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3585, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3585, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3586, allocations: 161.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3586, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-06/0.3586, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3586, allocations: 320 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3587, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3587, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3587, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3588, allocations: 85 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3588, allocations: 85 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.3589, allocations: 3.938 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.3589, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3589, allocations: 8 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3589, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.359, allocations: 87.27 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.359, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003347/0.3593, allocations: 20 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.3595, allocations: 99.25 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3597, allocations: 119.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3597, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.3597, allocations: 15.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.36, allocations: 12.12 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.3602, allocations: 118.2 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3605, allocations: 0.6768 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.3605, allocations: 7.984 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.3606, allocations: 7.438 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of SimCode: time 1.814e-06/0.3606, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Templates: time 0.003583/0.3641, allocations: 1.079 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches