Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.007671/0.007671, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001558/0.001558, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.899/2.899, allocations: 437 MB / 0.7105 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.88 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 151.6 MB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002079/0.3701, allocations: 0.6401 MB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.3703, allocations: 19.91 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.3703, allocations: 0 / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3705, allocations: 7.938 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.3705, allocations: 0 / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.3707, allocations: 8 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3708, allocations: 43.84 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.371, allocations: 31.98 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.371, allocations: 12 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.3711, allocations: 23.8 kB / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3711, allocations: 4 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.3711, allocations: 4 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.3711, allocations: 8 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.3712, allocations: 23.84 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.3713, allocations: 43.77 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3713, allocations: 3.984 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3713, allocations: 0 / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3714, allocations: 0 / 1.168 GB, free: 5.828 MB / 0.92 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.0004491/0.3718, allocations: 355.3 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3719, allocations: 11.97 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.3719, allocations: 8.891 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3721, allocations: 180.3 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3721, allocations: 384 / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3722, allocations: 4.375 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3724, allocations: 82.2 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3724, allocations: 192 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3724, allocations: 7.938 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3724, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.3725, allocations: 51.97 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.3732, allocations: 499.1 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3733, allocations: 165.1 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.3733, allocations: 88.45 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3734, allocations: 79.28 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.3735, allocations: 105.8 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.3735, allocations: 4 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.077e-05/0.3736, allocations: 33.66 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3736, allocations: 126.8 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3738, allocations: 183.5 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3738, allocations: 25.7 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3739, allocations: 96.14 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.3739, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.374, allocations: 13.72 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3741, allocations: 318.8 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.3742, allocations: 7.938 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.3742, allocations: 15.98 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.3742, allocations: 12.84 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3743, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001532/0.3744, allocations: 53.7 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3744, allocations: 8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3745, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3745, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.3746, allocations: 7.938 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3746, allocations: 3.938 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.3746, allocations: 4 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3746, allocations: 3.938 kB / 1.17 GB, free: 3.094 MB / 0.92 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.0001261/0.3748, allocations: 201.1 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.3749, allocations: 108.9 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.3749, allocations: 112.9 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.209e-05/0.375, allocations: 184.2 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.028e-05/0.3751, allocations: 180.2 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.238e-05/0.3752, allocations: 184.2 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.3755, allocations: 421.2 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.3755, allocations: 105 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.3756, allocations: 104.9 kB / 1.171 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-05/0.3757, allocations: 176.3 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.3757, allocations: 180.2 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-05/0.3758, allocations: 188.2 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.903e-05/0.3759, allocations: 184.2 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3761, allocations: 303.7 kB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3762, allocations: 202 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.3763, allocations: 176.3 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.3764, allocations: 109.3 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.3765, allocations: 184.1 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.3766, allocations: 109 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001245/0.3767, allocations: 137 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3767, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002411/0.377, allocations: 4 kB / 1.173 GB, free: 15.39 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.0001697/0.3771, allocations: 186.5 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.3772, allocations: 15.95 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3772, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.053e-06/0.3772, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3777, allocations: 465.5 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.378, allocations: 212.2 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3783, allocations: 0.6963 MB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.3783, allocations: 4 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3783, allocations: 7.438 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3783, allocations: 4 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.003072/0.3814, allocations: 478.3 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches