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.007689/0.007689, allocations: 99.88 kB / 15.73 MB, free: 6.449 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.001479/0.00148, allocations: 193.1 kB / 16.67 MB, free: 6.352 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.529/1.529, 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 9.1.3-maint.9.1.x/package.mo): time 2.667/2.667, allocations: 390.2 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.02 kB / 0.9509 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 140.4 MB / 1.088 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002178/0.3559, allocations: 0.6581 MB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.3561, allocations: 11.98 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.3562, allocations: 4 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3563, allocations: 3.938 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.3564, allocations: 0 / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.3565, allocations: 7.984 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3566, allocations: 43.91 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3568, allocations: 24 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.3568, allocations: 15.92 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.3569, allocations: 11.94 kB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3569, allocations: 4 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.3569, allocations: 4 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.357, allocations: 15.91 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.357, allocations: 27.88 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3571, allocations: 47.75 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3572, allocations: 0 / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3572, allocations: 0 / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3572, allocations: 0 / 1.089 GB, free: 0.7344 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.0004203/0.3576, allocations: 351.3 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3576, allocations: 12.02 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3577, allocations: 8.891 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3579, allocations: 172.3 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3579, allocations: 4.375 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3579, allocations: 8.375 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3581, allocations: 82.16 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3582, allocations: 192 / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3582, allocations: 3.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3582, allocations: 3.938 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.3583, allocations: 51.91 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.3589, allocations: 491.2 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.359, allocations: 173.1 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.359, allocations: 80.52 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.3591, allocations: 79.27 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.3592, allocations: 105.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.3592, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.159e-05/0.3592, allocations: 49.58 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.3593, allocations: 130.7 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3595, allocations: 179.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3595, allocations: 25.7 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3596, allocations: 92.14 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.3596, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.3597, allocations: 21.66 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3598, allocations: 314.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.3599, allocations: 15.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.3599, allocations: 8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.3599, allocations: 16.84 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3599, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001287/0.3601, allocations: 49.62 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3601, allocations: 8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3601, allocations: 112 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3601, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.3602, allocations: 12.08 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3602, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.3602, allocations: 7.953 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3603, allocations: 0 / 1.091 GB, free: 13.99 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.000124/0.3604, allocations: 197.1 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.3605, allocations: 104.9 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3605, allocations: 112.8 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.3606, allocations: 184.3 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-05/0.3607, allocations: 188.2 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.264e-05/0.3608, allocations: 180.2 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.361, allocations: 414.6 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/0.3611, allocations: 108.9 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.3611, allocations: 109 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.149e-05/0.3612, allocations: 184.2 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/0.3613, allocations: 176.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-05/0.3614, allocations: 176.3 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.27e-05/0.3615, allocations: 188.1 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3617, allocations: 311.8 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.3618, allocations: 194 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.3619, allocations: 176.3 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.362, allocations: 113.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.3621, allocations: 184.2 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.3621, allocations: 113 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001098/0.3622, allocations: 133.3 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3622, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002594/0.3625, allocations: 4 kB / 1.095 GB, free: 10.29 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.0001749/0.3627, allocations: 178.5 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.3628, allocations: 7.984 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3628, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3628, allocations: 4.062 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.3634, allocations: 463.6 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3637, allocations: 212.2 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3641, allocations: 0.6924 MB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.3641, allocations: 4 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.3642, allocations: 15.38 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3642, allocations: 4 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.002886/0.3671, allocations: 472.4 kB / 1.097 GB, free: 8.199 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