Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007386/0.007386, allocations: 102.4 kB / 15.73 MB, free: 6.484 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.001322/0.001322, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3643, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002752/0.3671, allocations: 0.6516 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.3674, allocations: 19.91 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.3675, allocations: 0 / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3676, allocations: 4 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.3677, allocations: 7.938 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.3679, allocations: 4 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.368, allocations: 35.97 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.3682, allocations: 31.98 kB / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.3683, allocations: 15.94 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.3683, allocations: 15.92 kB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3683, allocations: 0 / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.3684, allocations: 4 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.3684, allocations: 11.94 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.3685, allocations: 27.78 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3686, allocations: 47.83 kB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.3686, allocations: 0 / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3687, allocations: 0 / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.3687, allocations: 4 kB / 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.000516/0.3692, allocations: 351.3 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3693, allocations: 8.031 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.3693, allocations: 4.938 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3695, allocations: 176.3 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3695, allocations: 4.375 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3696, allocations: 4.375 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3698, allocations: 78.16 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3698, allocations: 192 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3699, allocations: 15.94 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3699, allocations: 0 / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.37, allocations: 51.91 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.3707, allocations: 487 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3709, allocations: 169.1 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.371, allocations: 88.14 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.371, allocations: 75.28 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.371, allocations: 109.8 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3711, allocations: 0 / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.682e-05/0.3712, allocations: 33.61 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.3712, allocations: 126.7 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3714, allocations: 173.7 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3715, allocations: 29.7 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3716, allocations: 96.12 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.3716, allocations: 3.938 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3716, allocations: 9.719 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3717, allocations: 322.8 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.3718, allocations: 4 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.3718, allocations: 11.98 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.3718, allocations: 16.86 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3718, allocations: 4 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001541/0.372, allocations: 57.58 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.372, allocations: 5.562 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.372, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3721, allocations: 4 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.3721, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3722, allocations: 3.938 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.3722, allocations: 7.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3722, allocations: 4 kB / 1.211 GB, free: 6.02 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.0001201/0.3723, allocations: 197.1 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.3724, allocations: 112.9 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.3725, allocations: 124.8 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/0.3726, allocations: 176.3 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.808e-05/0.3726, allocations: 184.1 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-05/0.3727, allocations: 184.3 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.373, allocations: 425.1 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/0.373, allocations: 101 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.3731, allocations: 101 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.933e-05/0.3732, allocations: 184.7 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.3733, allocations: 184.3 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.3733, allocations: 188.2 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.717e-05/0.3734, allocations: 180.2 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3736, allocations: 307.9 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.3737, allocations: 198 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.3739, allocations: 184.2 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.374, allocations: 101 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.3741, allocations: 188.1 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3741, allocations: 101 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000119/0.3742, allocations: 132.8 kB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3742, allocations: 0 / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002569/0.3745, allocations: 4 kB / 1.214 GB, free: 2.316 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.0002024/0.3747, allocations: 184.5 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.512e-05/0.3748, allocations: 12 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3748, allocations: 0 / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-06/0.3748, allocations: 7.938 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3753, allocations: 471.6 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.3757, allocations: 220 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.376, allocations: 0.6963 MB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.3761, allocations: 4 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3761, allocations: 11.44 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3761, allocations: 0 / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of Templates: time 0.002926/0.379, allocations: 472.4 kB / 1.216 GB, free: 208 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches