Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.205/2.205, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.578e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001452/0.001478, allocations: 0.7713 MB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002695, allocations: 1.187 MB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.002744, allocations: 1.094 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.002783, allocations: 3.938 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.002857, allocations: 8.203 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.003273, allocations: 136.4 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003429, allocations: 115.8 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.003524, allocations: 13.09 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003636, allocations: 67.88 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.003718, allocations: 36.97 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.003748, allocations: 12 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.003807, allocations: 19.98 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.003832, allocations: 13.05 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.003887, allocations: 35.91 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004058, allocations: 103.7 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004061, allocations: 1.031 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.011e-06/0.004062, allocations: 0 / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.004067, allocations: 0 / 0.8806 GB, free: 3.797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004832/0.00455, allocations: 426.7 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004589, allocations: 12.62 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.004645, allocations: 12.89 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.004743, allocations: 121.2 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.004757, allocations: 4.359 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.004777, allocations: 9.344 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.004907, allocations: 62.94 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.004916, allocations: 1 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.004926, allocations: 384 / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.004936, allocations: 5.531 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.004973, allocations: 23.84 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.005344, allocations: 309.2 kB / 0.8816 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.005443, allocations: 47.05 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.005472, allocations: 15.69 kB / 0.8816 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.00548, allocations: 1 kB / 0.8816 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.005589, allocations: 84.92 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.00559, allocations: 0.8438 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002113/0.005801, allocations: 97.67 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.005836, allocations: 59.03 kB / 0.8819 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.005919, allocations: 177.8 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.005939, allocations: 37.69 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.005992, allocations: 134.9 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.00601, allocations: 19.84 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.006064, allocations: 47.34 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006174, allocations: 492.1 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.006253, allocations: 65.67 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.006339, allocations: 107.5 kB / 0.8829 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.006444, allocations: 124.7 kB / 0.883 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006446, allocations: 0 / 0.883 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00023/0.006676, allocations: 212.9 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.006709, allocations: 37.69 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.006716, allocations: 4 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.006732, allocations: 0 / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.006808, allocations: 12 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.006816, allocations: 8.062 kB / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.006911, allocations: 35.86 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.006925, allocations: 4 kB / 0.8833 GB, free: 0.7617 MB / 0.8386 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.007007, allocations: 166.1 kB / 0.8835 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.007025, allocations: 19.88 kB / 0.8835 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.007053, allocations: 4.438 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007055, allocations: 4 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.007059, allocations: 0 / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007062, allocations: 0 / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.007323, allocations: 345.3 kB / 0.8838 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007324, allocations: 0 / 0.8838 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.007355, allocations: 4 kB / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007357, allocations: 0 / 0.8838 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.007366, allocations: 8 kB / 0.8838 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.007369, allocations: 3.984 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00737, allocations: 0 / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.00751, allocations: 239.7 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.00752, allocations: 11.94 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.007538, allocations: 4 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.007592, allocations: 8 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.00763, allocations: 7.922 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.007637, allocations: 4 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.007682, allocations: 135.2 kB / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007682, allocations: 0 / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001787/0.007861, allocations: 24 kB / 0.8843 GB, free: 15.72 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.007991, allocations: 103.2 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.008198, allocations: 165.2 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008199, allocations: 4.25 kB / 0.8845 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.008242, allocations: 35.59 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008457, allocations: 19.88 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.008777, allocations: 162.8 kB / 0.8847 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.008814, allocations: 59.36 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.008838, allocations: 11.84 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.008865, allocations: 16.5 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.008866, allocations: 0 / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003518/0.01238, allocations: 1.611 MB / 0.8864 GB, free: 13.5 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.722094478085637]