Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00997/0.00997, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001729/0.001729, allocations: 199 kB / 16.67 MB, free: 5.977 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.632/1.632, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.568/2.568, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.41 kB / 0.9509 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3511, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002221/0.3533, allocations: 0.6463 MB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00019/0.3535, allocations: 19.92 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3536, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3538, allocations: 3.938 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.3538, allocations: 4 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.3539, allocations: 7.984 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3541, allocations: 39.91 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3542, allocations: 28 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.3543, allocations: 15.92 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.3543, allocations: 15.94 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3543, allocations: 0 / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.3544, allocations: 4 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.3544, allocations: 19.91 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3544, allocations: 19.88 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3546, allocations: 47.81 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3546, allocations: 0 / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3546, allocations: 0 / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3546, allocations: 0 / 1.089 GB, free: 0.5742 MB / 0.8419 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.0003987/0.355, allocations: 351.4 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3551, allocations: 12.03 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3551, allocations: 8.844 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3553, allocations: 176.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3553, allocations: 384 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3554, allocations: 12.36 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3555, allocations: 74.17 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3556, allocations: 4.125 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3556, allocations: 3.938 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3556, allocations: 4 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.3557, allocations: 47.97 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.3562, allocations: 495 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.3563, allocations: 169.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.3564, allocations: 88.39 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3564, allocations: 75.28 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.3565, allocations: 113.8 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3565, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.516e-05/0.3566, allocations: 37.69 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.3567, allocations: 130.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3569, allocations: 179.5 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3569, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.357, allocations: 96.05 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.357, allocations: 7.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.357, allocations: 9.719 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3571, allocations: 318.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.3571, allocations: 7.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.3572, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.3572, allocations: 16.84 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3572, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001373/0.3574, allocations: 57.66 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3574, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3574, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3574, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3575, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3575, allocations: 7.922 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.3575, allocations: 8.047 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3576, allocations: 7.938 kB / 1.091 GB, free: 13.83 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 0.00012/0.3577, allocations: 201.1 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.3578, allocations: 108.9 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.3578, allocations: 108.9 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-05/0.3579, allocations: 184.2 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.741e-05/0.358, allocations: 184.2 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/0.3581, allocations: 184.2 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3583, allocations: 418.6 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.3584, allocations: 105 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.3584, allocations: 104.9 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-05/0.3585, allocations: 184.2 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.3586, allocations: 180.2 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.072e-05/0.3587, allocations: 176.3 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.056e-05/0.3588, allocations: 184.2 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3589, allocations: 319.6 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.359, allocations: 190 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3591, allocations: 176.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3592, allocations: 113.3 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.3593, allocations: 188.1 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.3594, allocations: 109 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3595, allocations: 131.2 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3595, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002372/0.3597, allocations: 4 kB / 1.095 GB, free: 10.13 MB / 0.8575 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.0001752/0.3599, allocations: 178.5 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.512e-05/0.36, allocations: 15.92 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.36, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.36, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3605, allocations: 461.9 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.3608, allocations: 220.3 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3612, allocations: 0.6885 MB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.3612, allocations: 11.98 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.3612, allocations: 7.438 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3612, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.00272/0.3639, allocations: 474.4 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches