Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001616, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.613/1.613, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3512, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001874/0.3531, allocations: 0.6478 MB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.3533, allocations: 11.94 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.3534, allocations: 0 / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3535, allocations: 3.938 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.3535, allocations: 0 / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.419e-05/0.3536, allocations: 7.984 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.3537, allocations: 27.91 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3539, allocations: 35.98 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.3539, allocations: 15.94 kB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.354, allocations: 19.86 kB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.354, allocations: 4 kB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.354, allocations: 4 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.354, allocations: 3.938 kB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.3541, allocations: 23.88 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.3542, allocations: 51.8 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3542, allocations: 0 / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3542, allocations: 0 / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3542, allocations: 0 / 1.209 GB, free: 8.734 MB / 0.9669 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.0003653/0.3546, allocations: 355.3 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3546, allocations: 8.031 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3547, allocations: 8.938 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3548, allocations: 180.2 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3548, allocations: 4.375 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.3549, allocations: 4.375 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.355, allocations: 78.22 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.355, allocations: 192 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3551, allocations: 7.938 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3551, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.3552, allocations: 55.84 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.3557, allocations: 487.1 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.3557, allocations: 169.1 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.3558, allocations: 84.12 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3558, allocations: 79.28 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.3559, allocations: 109.8 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3559, allocations: 0 / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.224e-05/0.356, allocations: 33.61 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.356, allocations: 126.7 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3562, allocations: 174.8 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3562, allocations: 25.7 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3563, allocations: 100.1 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.3563, allocations: 0 / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.3563, allocations: 13.72 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3565, allocations: 322.8 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.3565, allocations: 4 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.3565, allocations: 7.984 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.3565, allocations: 16.86 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3565, allocations: 64 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.3567, allocations: 57.58 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3567, allocations: 8 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3567, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3567, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.3568, allocations: 7.938 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3568, allocations: 3.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.3568, allocations: 11.88 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3568, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 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 0.0001186/0.3569, allocations: 201.1 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.357, allocations: 105 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.3571, allocations: 116.8 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/0.3571, allocations: 188.2 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.731e-05/0.3572, allocations: 180.2 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.3573, allocations: 180.2 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3575, allocations: 421.2 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.006e-05/0.3576, allocations: 105 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3576, allocations: 108.9 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.73e-05/0.3577, allocations: 180.8 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.3578, allocations: 184.2 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.072e-05/0.3578, allocations: 180.3 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-05/0.3579, allocations: 188.2 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.3581, allocations: 311.9 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.3582, allocations: 194 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.3583, allocations: 184.2 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.3583, allocations: 109 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.3584, allocations: 184.1 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.3585, allocations: 101 kB / 1.214 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000103/0.3586, allocations: 132.5 kB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 4 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002149/0.3588, allocations: 4 kB / 1.214 GB, free: 2.305 MB / 0.9669 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.0001944/0.359, allocations: 174.5 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.3591, allocations: 15.92 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3591, allocations: 4 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.3591, allocations: 0 / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3596, allocations: 463.6 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.3599, allocations: 230.1 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3602, allocations: 0.6924 MB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.3602, allocations: 7.984 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.3602, allocations: 7.438 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3602, allocations: 0 / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of Templates: time 0.002317/0.3626, allocations: 483.6 kB / 1.216 GB, free: 200 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches