Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.491/2.491, 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.001458/0.001458, allocations: 181 kB / 498.1 MB, free: 5.758 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.92/1.92, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001127/0.001127, allocations: 92.33 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 6.875 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.365, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.5681, allocations: 149.4 MB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.5685, allocations: 91.92 kB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002482/0.571, allocations: 0.8571 MB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.571, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.571, allocations: 4 kB / 1.37 GB, free: 11.75 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.0004769/0.5715, allocations: 375.2 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5715, allocations: 8.031 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.5716, allocations: 7.906 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5717, allocations: 171 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5718, allocations: 0 / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5718, allocations: 7.938 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.572, allocations: 84.38 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5721, allocations: 0 / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5721, allocations: 3.984 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5721, allocations: 4 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.5724, allocations: 87.92 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.573, allocations: 308.8 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.5732, allocations: 74.47 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.5732, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.5732, allocations: 34.56 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5733, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.5738, allocations: 157.7 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.5739, allocations: 55.39 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.574, allocations: 109.1 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.574, allocations: 29.7 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.5741, allocations: 100.4 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.5741, allocations: 3.906 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5741, allocations: 4 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5742, allocations: 314.8 kB / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.5744, allocations: 47.89 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.5745, allocations: 43.97 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.5747, allocations: 43.95 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5747, allocations: 4 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003173/0.575, allocations: 117.6 kB / 1.372 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.575, allocations: 7.938 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.575, allocations: 0 / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5751, allocations: 0 / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5752, allocations: 23.92 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5752, allocations: 0 / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.5753, allocations: 27.88 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5753, allocations: 3.953 kB / 1.372 GB, free: 9.324 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.845e-05/0.5754, allocations: 114.5 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.5755, allocations: 4 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.5755, allocations: 7.906 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5755, allocations: 0 / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5755, allocations: 0 / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5755, allocations: 0 / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.5757, allocations: 177.6 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5757, allocations: 0 / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5758, allocations: 23.98 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5758, allocations: 0 / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5758, allocations: 4 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5759, allocations: 0 / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5759, allocations: 0 / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.5762, allocations: 231.6 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.5763, allocations: 81.05 kB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5763, allocations: 4 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5764, allocations: 11.98 kB / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5765, allocations: 12.02 kB / 1.373 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5765, allocations: 0 / 1.373 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.5765, allocations: 91.27 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5765, allocations: 4 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001972/0.5768, allocations: 8.281 kB / 1.373 GB, free: 8.465 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: 0 () * Number of discrete states: 0 () * 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.0001337/0.5769, allocations: 103 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.5772, allocations: 91.92 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5772, allocations: 3.938 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5774, allocations: 47.91 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.5776, allocations: 15.94 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.578, allocations: 137.3 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.5783, allocations: 0.6887 MB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.5783, allocations: 0 / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.5783, allocations: 11.44 kB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5783, allocations: 0 / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of Templates: time 0.002469/0.5808, allocations: 0.5316 MB / 1.374 GB, free: 6.781 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches