Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001165/0.001165, allocations: 173.2 kB / 498.1 MB, free: 5.719 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.652/1.652, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.0009579/0.0009579, allocations: 92.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 13.89 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.521, allocations: 149.6 MB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5213, allocations: 71.97 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006454/0.5278, allocations: 2.112 MB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.527e-06/0.5279, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5279, allocations: 0 / 1.371 GB, free: 10.21 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.0005744/0.5285, allocations: 404.8 kB / 1.372 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5285, allocations: 8.031 kB / 1.372 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.5286, allocations: 4 kB / 1.372 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.5287, allocations: 174.9 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.5288, allocations: 12 kB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5288, allocations: 7.938 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.529, allocations: 77.58 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.529, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.529, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5291, allocations: 4 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.5293, allocations: 55.95 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.5298, allocations: 316.8 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.53, allocations: 74.55 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.53, allocations: 0 / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.5303, allocations: 91.48 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.5303, allocations: 0 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004744/0.5308, allocations: 161.5 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5309, allocations: 67.34 kB / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.531, allocations: 108.9 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.531, allocations: 33.7 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.5311, allocations: 92.05 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.5311, allocations: 15.81 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.5311, allocations: 3.984 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5313, allocations: 318.8 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.5315, allocations: 63.95 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5317, allocations: 88.25 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.5318, allocations: 89.92 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5319, allocations: 0 / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004356/0.5323, allocations: 223.2 kB / 1.374 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.5323, allocations: 42.94 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5324, allocations: 0 / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5324, allocations: 7.938 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.5325, allocations: 15.92 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5325, allocations: 4 kB / 1.374 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5327, allocations: 47.95 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.5328, allocations: 11.92 kB / 1.374 GB, free: 7.383 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001222/0.5329, allocations: 123.7 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.5329, allocations: 7.906 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.5329, allocations: 12.38 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.533, allocations: 4.062 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.533, allocations: 4 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.533, allocations: 3.984 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.5335, allocations: 382.4 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5335, allocations: 0 / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.5336, allocations: 11.98 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5336, allocations: 7.984 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5336, allocations: 0 / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5336, allocations: 0 / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5336, allocations: 3.953 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.5339, allocations: 223.3 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.534, allocations: 85 kB / 1.374 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.534, allocations: 4 kB / 1.374 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.5341, allocations: 4 kB / 1.374 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5342, allocations: 15.98 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.5342, allocations: 7.953 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.833e-05/0.5342, allocations: 91.27 kB / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5343, allocations: 0 / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002511/0.5345, allocations: 23.94 kB / 1.375 GB, free: 6.289 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002151/0.5347, allocations: 119 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.5351, allocations: 191.2 kB / 1.375 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5352, allocations: 3.938 kB / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.5353, allocations: 47.91 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.5355, allocations: 12.25 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.5359, allocations: 171.3 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5362, allocations: 0.6926 MB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.5363, allocations: 11.78 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.5363, allocations: 15.42 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.5363, allocations: 0 / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of Templates: time 0.003905/0.5402, allocations: 1.247 MB / 1.377 GB, free: 3.723 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches