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.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.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.01023/0.01023, allocations: 101 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.00218/0.00218, allocations: 186 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.849/2.849, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3841, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001874/0.386, allocations: 0.6573 MB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.3862, allocations: 8 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.3863, allocations: 3.938 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.3864, allocations: 4 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.383e-05/0.3865, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.3866, allocations: 7.984 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3867, allocations: 47.89 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3868, allocations: 24 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.3869, allocations: 15.92 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.3869, allocations: 11.94 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3869, allocations: 4 kB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.3869, allocations: 4 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.387, allocations: 15.92 kB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.387, allocations: 15.88 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.3871, allocations: 59.73 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3871, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3871, allocations: 4 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3871, allocations: 0 / 1.209 GB, free: 8.711 MB / 0.9669 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.0003712/0.3875, allocations: 343.3 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3876, allocations: 12.03 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3876, allocations: 4.922 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3878, allocations: 176.3 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.3878, allocations: 4.375 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3878, allocations: 12.38 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.388, allocations: 82.14 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.388, allocations: 192 / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.388, allocations: 3.938 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.388, allocations: 7.938 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.3881, allocations: 47.97 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3886, allocations: 483 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3888, allocations: 173.1 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.3888, allocations: 80.14 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3888, allocations: 79.28 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.3889, allocations: 109.8 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3889, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.868e-05/0.389, allocations: 41.53 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.3891, allocations: 130.7 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3892, allocations: 171.3 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3893, allocations: 25.7 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3893, allocations: 92.14 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.3893, allocations: 3.984 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.3894, allocations: 21.7 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3895, allocations: 314.8 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.3895, allocations: 15.98 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.3896, allocations: 4 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.3896, allocations: 16.84 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3896, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.3897, allocations: 57.53 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3897, allocations: 5.719 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3897, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3898, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.3898, allocations: 8.188 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3898, allocations: 11.88 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.3899, allocations: 11.94 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3899, allocations: 0 / 1.211 GB, free: 5.984 MB / 0.9669 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 9.917e-05/0.39, allocations: 193.1 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.3901, allocations: 112.9 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.3901, allocations: 112.8 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/0.3902, allocations: 180.3 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/0.3903, allocations: 188.1 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.913e-05/0.3903, allocations: 176.3 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3906, allocations: 421.2 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.3906, allocations: 104.9 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3906, allocations: 101 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.3907, allocations: 192.7 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.3908, allocations: 184.3 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-05/0.3909, allocations: 176.3 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.246e-05/0.3909, allocations: 184.1 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3911, allocations: 315.9 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.3911, allocations: 190 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.3912, allocations: 184.2 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.3913, allocations: 101 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.3914, allocations: 188.2 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.3915, allocations: 108.9 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.795e-05/0.3916, allocations: 131.2 kB / 1.214 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3916, allocations: 3.938 kB / 1.214 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002136/0.3918, allocations: 4 kB / 1.214 GB, free: 2.285 MB / 0.9669 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.000179/0.392, allocations: 178.5 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.392, allocations: 11.98 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3921, allocations: 0 / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3921, allocations: 0 / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3925, allocations: 472.9 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.3928, allocations: 220 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.393, allocations: 0.6924 MB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.3931, allocations: 4 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.3931, allocations: 11.44 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of SimCode: time 1.553e-06/0.3931, allocations: 4 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of Templates: time 0.002481/0.3956, allocations: 486.8 kB / 1.216 GB, free: 176 kB / 0.9669 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