Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008208/0.008208, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 202.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002206, allocations: 67.89 kB / 0.9509 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.978, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001781/0.9799, allocations: 0.6533 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.98, allocations: 12.09 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.9801, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.9802, allocations: 10.02 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.9802, allocations: 5.031 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.146e-05/0.9803, allocations: 1.625 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.9804, allocations: 27.45 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.9806, allocations: 32.89 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.9806, allocations: 11.45 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.9807, allocations: 18.95 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.9807, allocations: 3.312 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.9807, allocations: 2.188 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.9808, allocations: 9.125 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.9808, allocations: 21.05 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.981, allocations: 57.28 kB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.981, allocations: 4.562 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.981, allocations: 0 / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.981, allocations: 0 / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004138/0.9814, allocations: 340.7 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9815, allocations: 10.22 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.9815, allocations: 11.62 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.9817, allocations: 179.5 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.9817, allocations: 1.438 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.9817, allocations: 11.75 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.9819, allocations: 79.09 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9819, allocations: 192 / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.982, allocations: 5.406 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.982, allocations: 1.062 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.9821, allocations: 48.81 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.9827, allocations: 493.4 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.9828, allocations: 170.1 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.9828, allocations: 81.23 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.9828, allocations: 75.8 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.9829, allocations: 107.5 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.9829, allocations: 3.984 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.883e-05/0.983, allocations: 33.33 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.983, allocations: 135.8 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.9832, allocations: 179.7 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.9832, allocations: 25.7 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.9833, allocations: 97.62 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.9833, allocations: 8.75 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.9834, allocations: 13.83 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.9834, allocations: 318.3 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.9834, allocations: 10.73 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.9835, allocations: 6.344 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.9835, allocations: 17.27 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9835, allocations: 0 / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001236/0.9836, allocations: 62.09 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9837, allocations: 4.344 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.9837, allocations: 1.094 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9837, allocations: 0.5625 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.9838, allocations: 4.391 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.9838, allocations: 7.938 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.9838, allocations: 4.094 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.9838, allocations: 2.125 kB / 1.091 GB, free: 2.621 MB / 0.8575 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.081e-05/0.9839, allocations: 194.1 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.984, allocations: 116.9 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.984, allocations: 110.3 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.52e-05/0.9841, allocations: 181.4 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-05/0.9842, allocations: 186 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.925e-05/0.9842, allocations: 181.8 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.9846, allocations: 419.7 kB / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.273e-05/0.9847, allocations: 101.7 kB / 1.093 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.9848, allocations: 106.8 kB / 1.093 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.9849, allocations: 186 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.985, allocations: 178.1 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/0.9851, allocations: 182 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001132/0.9852, allocations: 182.6 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.9855, allocations: 314.5 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.9856, allocations: 182.8 kB / 1.094 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.9857, allocations: 182.9 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.9859, allocations: 111.9 kB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.986, allocations: 182.2 kB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.986, allocations: 105.5 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001645/0.9862, allocations: 136.4 kB / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.142e-06/0.9862, allocations: 0 / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003143/0.9865, allocations: 9.406 kB / 1.095 GB, free: 15.04 MB / 0.8731 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002748/0.9868, allocations: 174.1 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.9869, allocations: 8.469 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9869, allocations: 1.031 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-06/0.9869, allocations: 3.938 kB / 1.095 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.9876, allocations: 467.7 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.9882, allocations: 219.3 kB / 1.095 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.9887, allocations: 0.69 MB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.9887, allocations: 7.5 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.9888, allocations: 8.656 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9888, allocations: 4 kB / 1.096 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.003369/0.9922, allocations: 489.9 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches