Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.8 kB / 16.41 MB, free: 6.492 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.001683/0.001683, allocations: 183 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7815, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.0019/0.7835, allocations: 0.618 MB / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.7836, allocations: 4 kB / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.7837, allocations: 0 / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.7838, allocations: 7.938 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.7839, allocations: 4 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.858e-05/0.7839, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.784, allocations: 27.92 kB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7842, allocations: 35.97 kB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.7842, allocations: 15.98 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.7843, allocations: 15.88 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.7843, allocations: 7.938 kB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.7843, allocations: 4 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.7844, allocations: 11.98 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.7844, allocations: 19.88 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.7845, allocations: 43.8 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7845, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7845, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7845, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 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.0003657/0.7849, allocations: 351.3 kB / 1.21 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7849, allocations: 8.031 kB / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.785, allocations: 8.844 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.7852, allocations: 178.3 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.7853, allocations: 384 / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.7853, allocations: 8.375 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7854, allocations: 86.09 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7855, allocations: 192 / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.7855, allocations: 3.938 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7855, allocations: 0 / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.7856, allocations: 51.97 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.7861, allocations: 495 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.7862, allocations: 165.1 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.7862, allocations: 80.14 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.7862, allocations: 79.28 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.7863, allocations: 109.8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.7863, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.135e-05/0.7864, allocations: 33.64 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.7865, allocations: 130.7 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.7866, allocations: 175.6 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.7866, allocations: 25.7 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.7867, allocations: 100 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.7867, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.7868, allocations: 9.719 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7869, allocations: 322.9 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.7869, allocations: 7.984 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.7869, allocations: 12 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.787, allocations: 16.78 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.787, allocations: 4.062 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.7871, allocations: 49.69 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7871, allocations: 4 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7871, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.7871, allocations: 4 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.7872, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.7872, allocations: 4.047 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.7873, allocations: 15.83 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.7873, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMin.y) * 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.0001099/0.7874, allocations: 193.2 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.7875, allocations: 116.8 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.7875, allocations: 112.9 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/0.7876, allocations: 184.2 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.547e-05/0.7877, allocations: 180.2 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.7877, allocations: 184.2 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.788, allocations: 425.1 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.975e-05/0.788, allocations: 101 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.7881, allocations: 104.9 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-05/0.7881, allocations: 176.3 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.7882, allocations: 184.3 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-05/0.7883, allocations: 192.2 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.7884, allocations: 180.2 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.7885, allocations: 303.8 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.7886, allocations: 190 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.7887, allocations: 192.2 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.7888, allocations: 101 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.7888, allocations: 184.1 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.7889, allocations: 109.3 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.946e-05/0.789, allocations: 127.2 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.789, allocations: 0 / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002281/0.7892, allocations: 4 kB / 1.215 GB, free: 6.57 MB / 0.9356 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.000137/0.7894, allocations: 182.5 kB / 1.215 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.7895, allocations: 15.94 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7895, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.7895, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.7899, allocations: 469.4 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.7902, allocations: 242 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.7905, allocations: 0.6846 MB / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.7905, allocations: 7.438 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.7905, allocations: 0 / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.002132/0.7926, allocations: 0.7375 MB / 1.217 GB, free: 4.188 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches