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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001432/0.001432, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001691/0.001691, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.013/3.013, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 10.16 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.373, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0008679/0.374, allocations: 384.7 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.3741, allocations: 8 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3742, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.988e-05/0.3743, allocations: 3.938 kB / 1.058 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.3743, allocations: 3.984 kB / 1.058 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.858e-05/0.3744, allocations: 4 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3745, allocations: 39.91 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3746, allocations: 23.98 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.3747, allocations: 7.938 kB / 1.058 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.3747, allocations: 11.92 kB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3747, allocations: 7.938 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.3748, allocations: 7.938 kB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.3748, allocations: 4 kB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3748, allocations: 29.64 kB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.3749, allocations: 39.92 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3749, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3749, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3749, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 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.000318/0.3752, allocations: 339.5 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3753, allocations: 8.031 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3753, allocations: 4 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3755, allocations: 183 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.3755, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3755, allocations: 7.953 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3757, allocations: 77.66 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3757, allocations: 0 / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3757, allocations: 11.94 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3757, allocations: 3.938 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3758, allocations: 47.97 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.3763, allocations: 495 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.3763, allocations: 173.1 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.3764, allocations: 80.14 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3764, allocations: 75.28 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3765, allocations: 109.8 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3765, allocations: 0 / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.565e-05/0.3765, allocations: 41.58 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3766, allocations: 130.6 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3768, allocations: 167.7 kB / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.3768, allocations: 29.7 kB / 1.06 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.3769, allocations: 92.12 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.3769, allocations: 4 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.3769, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.377, allocations: 322.8 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.377, allocations: 4 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.377, allocations: 11.98 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.3771, allocations: 4 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3771, allocations: 4 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.3772, allocations: 57.52 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3772, allocations: 4 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3772, allocations: 0 / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3772, allocations: 8.094 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.3773, allocations: 0 / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3773, allocations: 3.953 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.3773, allocations: 11.88 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3774, allocations: 4.109 kB / 1.061 GB, free: 2.047 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.3775, allocations: 197 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3775, allocations: 108.9 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.3776, allocations: 120.8 kB / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.054e-05/0.3777, allocations: 180.3 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.886e-05/0.3777, allocations: 176.3 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-05/0.3778, allocations: 188.2 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.378, allocations: 417.2 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.3781, allocations: 108.9 kB / 1.062 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.3781, allocations: 105 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.202e-05/0.3782, allocations: 180.3 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.3782, allocations: 180.2 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-05/0.3783, allocations: 176.3 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-05/0.3784, allocations: 184.2 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3785, allocations: 319.6 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.3786, allocations: 194 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.3787, allocations: 180.5 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.3788, allocations: 108.9 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.3788, allocations: 180.3 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.3789, allocations: 108.9 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.962e-05/0.379, allocations: 133.3 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.379, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002135/0.3792, allocations: 4 kB / 1.064 GB, free: 14.35 MB / 0.8262 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 (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.0001614/0.3794, allocations: 174.5 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.3794, allocations: 11.98 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3794, allocations: 4.062 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.3795, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.38, allocations: 0.5239 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.3803, allocations: 225.8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3805, allocations: 0.6926 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.3806, allocations: 4 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.3806, allocations: 7.438 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3806, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.002441/0.3831, allocations: 438 kB / 1.066 GB, free: 12.21 MB / 0.8262 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