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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 169 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 0.7872 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008675, allocations: 88.77 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.583e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3087, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.37, allocations: 149.3 MB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.37, allocations: 72.05 kB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005835/1.376, allocations: 1.779 MB / 1.36 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.376, allocations: 0 / 1.36 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.376, allocations: 0 / 1.36 GB, free: 34.62 MB / 0.8386 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.0002974/1.376, allocations: 357.1 kB / 1.36 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.376, allocations: 7.75 kB / 1.36 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/1.376, allocations: 12.31 kB / 1.36 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.009e-05/1.376, allocations: 178.1 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.376, allocations: 6.719 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.376, allocations: 3.562 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/1.377, allocations: 35.84 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/1.377, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/1.377, allocations: 7.828 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.377, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/1.377, allocations: 3.875 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/1.377, allocations: 302.2 kB / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/1.377, allocations: 22.17 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/1.377, allocations: 4.859 kB / 1.361 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/1.377, allocations: 0 / 1.361 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.377, allocations: 56.12 kB / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.377, allocations: 0 / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.00016/1.377, allocations: 61.62 kB / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/1.377, allocations: 51.41 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/1.377, allocations: 110.3 kB / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.378, allocations: 25.7 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/1.378, allocations: 83.98 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/1.378, allocations: 11.11 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/1.378, allocations: 3.75 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/1.378, allocations: 313.5 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/1.378, allocations: 34 kB / 1.362 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/1.378, allocations: 42.27 kB / 1.362 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/1.378, allocations: 54.89 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.378, allocations: 7.781 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002084/1.378, allocations: 134.7 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.378, allocations: 39.64 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.378, allocations: 4.094 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.378, allocations: 3.938 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.812e-05/1.378, allocations: 5.766 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.378, allocations: 0 / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.378, allocations: 34.94 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.378, allocations: 9.141 kB / 1.362 GB, free: 32.84 MB / 0.8386 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 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/1.378, allocations: 118 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/1.379, allocations: 1.5 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/1.379, allocations: 6.625 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.379, allocations: 2.75 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.379, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.379, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/1.379, allocations: 163.4 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.379, allocations: 0 / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-06/1.379, allocations: 0 / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.379, allocations: 4 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/1.379, allocations: 3.562 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.379, allocations: 1.547 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.379, allocations: 7.656 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/1.379, allocations: 80.3 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/1.379, allocations: 81.14 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.379, allocations: 5.578 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/1.379, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.379, allocations: 5.922 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/1.379, allocations: 3.844 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.193e-05/1.379, allocations: 83 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.379, allocations: 0 / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001919/1.379, allocations: 20.86 kB / 1.362 GB, free: 32.27 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001574/1.379, allocations: 108.9 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001868/1.38, allocations: 123.4 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.38, allocations: 192 / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/1.38, allocations: 14.72 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/1.38, allocations: 13.88 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/1.38, allocations: 69.12 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/1.38, allocations: 0.6854 MB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.723e-05/1.38, allocations: 0 / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/1.38, allocations: 12.97 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.38, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.003141/1.383, allocations: 0.9559 MB / 1.364 GB, free: 31.23 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches