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.001507/0.001507, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001808/0.001808, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.16 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.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.12 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9741/0.9755, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001742/0.9772, allocations: 0.6521 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.9774, allocations: 15.34 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.9775, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.819e-05/0.9776, allocations: 6.453 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.9776, allocations: 0.5625 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.9777, allocations: 6.906 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.9778, allocations: 34.89 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.9779, allocations: 29.5 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.978, allocations: 10.83 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.978, allocations: 19.02 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.978, allocations: 2.219 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.9781, allocations: 7.125 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.9781, allocations: 9.297 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.9781, allocations: 20.89 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.9783, allocations: 48.59 kB / 1.09 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9783, allocations: 1.188 kB / 1.09 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9783, allocations: 0.6562 kB / 1.09 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.9783, allocations: 0 / 1.09 GB, free: 5.004 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.0002938/0.9786, allocations: 344.9 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.9786, allocations: 9.156 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.9787, allocations: 11.03 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.9788, allocations: 183.9 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.9788, allocations: 6.438 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.9788, allocations: 7.625 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.979, allocations: 75.3 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.979, allocations: 192 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.979, allocations: 5.219 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.979, allocations: 1.438 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.9791, allocations: 48.89 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.9795, allocations: 496.9 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.9796, allocations: 171 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.9796, allocations: 80.14 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.9796, allocations: 75.28 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.9796, allocations: 111.9 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9796, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.283e-05/0.9797, allocations: 29.11 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.9797, allocations: 128.4 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.9799, allocations: 176.3 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.9799, allocations: 26.8 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.98, allocations: 97.2 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.98, allocations: 7.922 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.98, allocations: 21.78 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.9801, allocations: 319.1 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.9801, allocations: 10.89 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.9801, allocations: 6.531 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.9801, allocations: 17.02 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9801, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.9803, allocations: 52.94 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9803, allocations: 11.41 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.9803, allocations: 5.469 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.9803, allocations: 0 / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.9804, allocations: 7.844 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.9804, allocations: 4.641 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.9804, allocations: 8.625 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.9804, allocations: 1.578 kB / 1.092 GB, free: 2.609 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 6.464e-05/0.9805, allocations: 190 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.9805, allocations: 121.3 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.9806, allocations: 110.5 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.9806, allocations: 182.2 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.9806, allocations: 180.7 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.9807, allocations: 182.6 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.981, allocations: 418.6 kB / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.981, allocations: 106.9 kB / 1.093 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.981, allocations: 106.5 kB / 1.093 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.174e-05/0.9811, allocations: 185 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.9812, allocations: 182.4 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.975e-05/0.9812, allocations: 182.2 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-05/0.9813, allocations: 185.8 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.9814, allocations: 311.5 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.9815, allocations: 186.3 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.9816, allocations: 179.3 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.9817, allocations: 107.1 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.9818, allocations: 194.3 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.9818, allocations: 102.5 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001127/0.9819, allocations: 127.6 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9819, allocations: 0 / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002222/0.9822, allocations: 9.484 kB / 1.095 GB, free: 15.02 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.0001669/0.9823, allocations: 178 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.9824, allocations: 17.5 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9824, allocations: 0 / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.9824, allocations: 0 / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.9829, allocations: 462.4 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.9831, allocations: 240.6 kB / 1.096 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.9834, allocations: 0.693 MB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.9834, allocations: 10.36 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.9834, allocations: 1.062 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.002433/0.9859, allocations: 0.7691 MB / 1.098 GB, free: 13.42 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/jenkins1/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