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.008023/0.008023, allocations: 102 kB / 15.73 MB, free: 6.051 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.001504/0.001504, allocations: 195 kB / 16.68 MB, free: 5.969 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.572/1.572, 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.718/2.718, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.08 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3418, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002343/0.3442, allocations: 0.6513 MB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001805/0.3444, allocations: 15.98 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.3444, allocations: 0 / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3445, allocations: 3.938 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.3446, allocations: 0 / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.3447, allocations: 4 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3448, allocations: 51.89 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.345, allocations: 27.98 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.345, allocations: 11.94 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.345, allocations: 15.92 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3451, allocations: 4 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.3451, allocations: 4 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.3451, allocations: 7.938 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3452, allocations: 27.86 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.3453, allocations: 43.81 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3453, allocations: 3.984 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3453, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3453, allocations: 4 kB / 1.089 GB, free: 0.6719 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.0004333/0.3457, allocations: 349 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3458, allocations: 8.031 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3458, allocations: 12.78 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.346, allocations: 176.3 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.346, allocations: 384 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.346, allocations: 8.375 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3462, allocations: 82.23 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3462, allocations: 192 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3462, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3463, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.3463, allocations: 51.91 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3468, allocations: 491.1 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.3469, allocations: 173 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.347, allocations: 84.52 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.347, allocations: 75.28 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.347, allocations: 105.8 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.347, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.321e-05/0.3471, allocations: 29.7 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3472, allocations: 134.6 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3474, allocations: 181.5 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3474, allocations: 29.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.3475, allocations: 96.05 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3475, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3475, allocations: 13.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3476, allocations: 318.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.3476, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.3477, allocations: 11.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.3477, allocations: 20.91 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3477, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.3478, allocations: 53.64 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3479, allocations: 13.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3479, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3479, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.3479, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.348, allocations: 3.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.348, allocations: 7.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.348, allocations: 3.984 kB / 1.091 GB, free: 13.94 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.0001599/0.3482, allocations: 197.2 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.3482, allocations: 108.9 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3483, allocations: 112.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.3484, allocations: 184.2 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002042/0.3486, allocations: 184.2 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-05/0.3487, allocations: 188.2 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.349, allocations: 414.6 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.205e-05/0.349, allocations: 108.9 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3491, allocations: 105 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.3492, allocations: 176.3 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.3493, allocations: 184.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001591/0.3495, allocations: 180.2 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.694e-05/0.3495, allocations: 192.1 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3497, allocations: 307.7 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.3498, allocations: 190.1 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.3499, allocations: 180.3 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3501, allocations: 113.2 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3501, allocations: 184.1 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.3502, allocations: 116.9 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001155/0.3503, allocations: 131.2 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3503, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002757/0.3506, allocations: 4 kB / 1.095 GB, free: 10.23 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.0001543/0.3508, allocations: 182.5 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.3508, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3508, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3508, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.3513, allocations: 469.8 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.3516, allocations: 224.2 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3519, allocations: 0.6923 MB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.3519, allocations: 4 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.352, allocations: 11.44 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.352, allocations: 0 / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of Templates: time 0.002476/0.3545, allocations: 483.2 kB / 1.097 GB, free: 8.129 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