Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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.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.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.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.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.284/2.284, 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.001056/0.001056, allocations: 189 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.719/1.719, 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.0008884/0.0008884, allocations: 96.31 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 11.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.4935, allocations: 148.8 MB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4937, allocations: 67.97 kB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002093/0.4958, allocations: 0.8103 MB / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4959, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.4959, allocations: 0 / 1.369 GB, free: 12.4 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.0004334/0.4963, allocations: 375.2 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4964, allocations: 8.031 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.4964, allocations: 7.906 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4965, allocations: 167 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4966, allocations: 3.938 kB / 1.37 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.4966, allocations: 0 / 1.37 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.4968, allocations: 81.66 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4969, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4969, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4969, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.4972, allocations: 87.92 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.4977, allocations: 300.9 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4979, allocations: 77.2 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4979, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.498, allocations: 34.56 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.498, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005284/0.4985, allocations: 161.6 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4986, allocations: 59.34 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.4986, allocations: 104.9 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4987, allocations: 25.7 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.4987, allocations: 88.14 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.4987, allocations: 7.844 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4987, allocations: 3.938 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4989, allocations: 322.8 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.499, allocations: 39.97 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4992, allocations: 43.97 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.4993, allocations: 43.95 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4993, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003154/0.4997, allocations: 121.5 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4997, allocations: 5.25 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4997, allocations: 7.938 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4997, allocations: 4 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4999, allocations: 27.91 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4999, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.5, allocations: 15.98 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5, allocations: 3.953 kB / 1.371 GB, free: 10.01 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 7.489e-05/0.5, allocations: 117.8 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5001, allocations: 0 / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.5001, allocations: 11.91 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5001, allocations: 0 / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5001, allocations: 0 / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5001, allocations: 0 / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.5003, allocations: 177.8 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5003, allocations: 0 / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5004, allocations: 27.98 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5004, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.5004, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5004, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5005, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.5009, allocations: 223.3 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.5009, allocations: 81.11 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.501, allocations: 4 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5011, allocations: 19.98 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5011, allocations: 3.984 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5012, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.5012, allocations: 91.27 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5012, allocations: 0 / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001982/0.5014, allocations: 8 kB / 1.372 GB, free: 9.156 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.0001408/0.5016, allocations: 103 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.5019, allocations: 91.92 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5019, allocations: 0 / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5021, allocations: 43.91 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.5023, allocations: 19.88 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.5026, allocations: 136.7 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5028, allocations: 0.6848 MB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.5028, allocations: 0 / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.5029, allocations: 7.438 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5029, allocations: 4 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of Templates: time 0.002287/0.5052, allocations: 0.5204 MB / 1.373 GB, free: 7.496 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches