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.287/2.287, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001091/0.001091, allocations: 174.1 kB / 498.1 MB, free: 5.684 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.594/1.594, allocations: 223.2 MB / 0.7948 GB, free: 18.75 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.001073/0.001073, allocations: 98.84 kB / 0.9346 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 9.531 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.4991, allocations: 149.3 MB / 1.369 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4994, allocations: 67.97 kB / 1.369 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005352/0.5048, allocations: 1.786 MB / 1.371 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5048, allocations: 0 / 1.371 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.5049, allocations: 0 / 1.371 GB, free: 2.16 MB / 0.8698 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.0004798/0.5054, allocations: 372.9 kB / 1.371 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5054, allocations: 12.03 kB / 1.371 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.5055, allocations: 4 kB / 1.371 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.5056, allocations: 163 kB / 1.371 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.5057, allocations: 7.984 kB / 1.371 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5057, allocations: 7.938 kB / 1.371 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5058, allocations: 37.69 kB / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5058, allocations: 0 / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5059, allocations: 0 / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5059, allocations: 0 / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.5059, allocations: 19.94 kB / 1.371 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.5064, allocations: 292.8 kB / 1.371 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.5065, allocations: 18.58 kB / 1.371 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.5065, allocations: 3.984 kB / 1.371 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.5067, allocations: 75.28 kB / 1.371 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.5067, allocations: 4 kB / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002199/0.5069, allocations: 57.69 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.507, allocations: 55.36 kB / 1.372 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.5071, allocations: 96.98 kB / 1.372 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5071, allocations: 29.7 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.5072, allocations: 84.14 kB / 1.372 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.5072, allocations: 7.906 kB / 1.372 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.5072, allocations: 4 kB / 1.372 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5074, allocations: 314.8 kB / 1.372 GB, free: 320 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.5075, allocations: 31.98 kB / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.5076, allocations: 50.48 kB / 1.372 GB, free: 228 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.5077, allocations: 57.64 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5077, allocations: 0 / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002677/0.5079, allocations: 143.3 kB / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.508, allocations: 37.8 kB / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.508, allocations: 0 / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.508, allocations: 0 / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.5081, allocations: 4 kB / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5081, allocations: 0 / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5083, allocations: 39.83 kB / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.5083, allocations: 19.98 kB / 1.372 GB, free: 15.9 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5084, allocations: 109.8 kB / 1.373 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.5084, allocations: 0 / 1.373 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.5085, allocations: 7.5 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5085, allocations: 4 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5085, allocations: 0 / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5085, allocations: 3.938 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.5087, allocations: 161.6 kB / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5087, allocations: 0 / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.5087, allocations: 8 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5087, allocations: 0 / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.5087, allocations: 0 / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5087, allocations: 3.938 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5087, allocations: 0 / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.5088, allocations: 81.06 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.5089, allocations: 85.02 kB / 1.373 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5089, allocations: 0 / 1.373 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.5089, allocations: 4 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.509, allocations: 0 / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.509, allocations: 4.312 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.5091, allocations: 91.27 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5091, allocations: 0 / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002183/0.5093, allocations: 20 kB / 1.373 GB, free: 15.23 MB / 0.8855 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 (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.0002124/0.5095, allocations: 118.9 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.5097, allocations: 123.7 kB / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5097, allocations: 0 / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.5098, allocations: 15.94 kB / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.5099, allocations: 7.953 kB / 1.373 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.5103, allocations: 126.7 kB / 1.373 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5106, allocations: 0.6888 MB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.5106, allocations: 8 kB / 1.374 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.5106, allocations: 7.438 kB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5106, allocations: 0 / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.003428/0.5141, allocations: 0.9364 MB / 1.375 GB, free: 13.14 MB / 0.8855 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