Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001113/0.001113, allocations: 177.9 kB / 498.1 MB, free: 5.723 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.747/1.747, allocations: 223.2 MB / 0.7948 GB, free: 17.76 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.0009648/0.0009647, allocations: 88.33 kB / 0.9346 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003755, allocations: 14.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4923, allocations: 149.4 MB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4925, allocations: 67.97 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008222/0.5007, allocations: 2.954 MB / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5008, allocations: 0 / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5008, allocations: 0 / 1.372 GB, free: 9.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003993/0.5012, allocations: 418.6 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5012, allocations: 8.031 kB / 1.372 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.5013, allocations: 11.91 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5014, allocations: 163 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.5014, allocations: 8 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5015, allocations: 23.92 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.5016, allocations: 45.69 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5016, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5016, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.5016, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.5017, allocations: 15.98 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.5021, allocations: 352.8 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.5022, allocations: 34.52 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.5022, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.5024, allocations: 87.34 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5024, allocations: 4 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002119/0.5026, allocations: 97.61 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5026, allocations: 59.36 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.5027, allocations: 117 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.5028, allocations: 33.7 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.5028, allocations: 88.7 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.5029, allocations: 19.78 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.5029, allocations: 8 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.503, allocations: 310.8 kB / 1.374 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5031, allocations: 63.91 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.5033, allocations: 92.25 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.5034, allocations: 115.3 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5034, allocations: 0 / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000396/0.5038, allocations: 260.8 kB / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.5039, allocations: 71.52 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5039, allocations: 4 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5039, allocations: 0 / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.504, allocations: 4 kB / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.504, allocations: 0 / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.5043, allocations: 79.83 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.5043, allocations: 15.98 kB / 1.374 GB, free: 6.746 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001023/0.5044, allocations: 121.8 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.5045, allocations: 7.906 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.5045, allocations: 16.36 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5045, allocations: 4 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5045, allocations: 0 / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5045, allocations: 0 / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.5047, allocations: 173.6 kB / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5047, allocations: 0 / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.5047, allocations: 3.984 kB / 1.374 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5047, allocations: 0 / 1.374 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5047, allocations: 4 kB / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5047, allocations: 0 / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5047, allocations: 0 / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5049, allocations: 121.8 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.5049, allocations: 81.02 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.5049, allocations: 0 / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.505, allocations: 8.062 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.505, allocations: 12.02 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.505, allocations: 7.938 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.5051, allocations: 91.27 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5051, allocations: 0 / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002266/0.5053, allocations: 36 kB / 1.375 GB, free: 5.973 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001615/0.5055, allocations: 115 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.5058, allocations: 242.7 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5058, allocations: 0 / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.5059, allocations: 23.94 kB / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.506, allocations: 24.19 kB / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.5063, allocations: 163.2 kB / 1.375 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.5066, allocations: 0.6887 MB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.5066, allocations: 7.781 kB / 1.376 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.5066, allocations: 19.44 kB / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5066, allocations: 0 / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of Templates: time 0.003673/0.5103, allocations: 1.663 MB / 1.378 GB, free: 2.965 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches