Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001056/0.001056, allocations: 175.3 kB / 498.1 MB, free: 5.785 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.488/1.488, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0009401/0.0009401, allocations: 102.7 kB / 0.9346 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 15.62 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2785, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.4647, allocations: 149 MB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4649, allocations: 67.97 kB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002748/0.4677, allocations: 0.9547 MB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4677, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.4677, allocations: 0 / 1.369 GB, free: 12.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005016/0.4683, allocations: 382.5 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4683, allocations: 8.031 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.4683, allocations: 7.906 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4685, allocations: 175 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4685, allocations: 8 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4685, allocations: 0 / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.4688, allocations: 65.67 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4688, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4688, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4688, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.469, allocations: 63.94 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.4696, allocations: 304.7 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.4698, allocations: 54.55 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4699, allocations: 4.062 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4699, allocations: 38.64 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4699, allocations: 0 / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0003869/0.4703, allocations: 109.6 kB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.4704, allocations: 59.36 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.4705, allocations: 104.9 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4705, allocations: 25.7 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.4705, allocations: 92.08 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4706, allocations: 11.81 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.4706, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4707, allocations: 318.8 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-05/0.4708, allocations: 27.98 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.4709, allocations: 27.97 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.471, allocations: 23.98 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.471, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002152/0.4712, allocations: 93.59 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4713, allocations: 4 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4713, allocations: 336 / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4713, allocations: 3.938 kB / 1.371 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.4714, allocations: 15.98 kB / 1.371 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4714, allocations: 7.938 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4715, allocations: 23.98 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.4715, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001119/0.4716, allocations: 117.8 kB / 1.372 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.4717, allocations: 3.906 kB / 1.372 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.4719, allocations: 101.5 kB / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4719, allocations: 0 / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.472, allocations: 0 / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.472, allocations: 3.953 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4721, allocations: 169.7 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4721, allocations: 4 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.4722, allocations: 11.98 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4722, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4722, allocations: 4 kB / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4722, allocations: 0 / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4723, allocations: 0 / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4725, allocations: 183.4 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.4726, allocations: 85 kB / 1.372 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4726, allocations: 4.375 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4727, allocations: 19.98 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.4728, allocations: 11.98 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4728, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.4729, allocations: 95.2 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4729, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001998/0.4731, allocations: 4 kB / 1.372 GB, free: 8.996 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001384/0.4732, allocations: 103 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4735, allocations: 59.95 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4735, allocations: 0 / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.4736, allocations: 35.91 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4738, allocations: 16.64 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.4742, allocations: 132.6 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4744, allocations: 0.6848 MB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.4745, allocations: 4 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.4745, allocations: 7.438 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.4745, allocations: 4 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of Templates: time 0.002795/0.4773, allocations: 0.6295 MB / 1.374 GB, free: 7.27 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches