Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007901/0.007901, 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.001674/0.001674, 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.727/2.727, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 1.019 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3549, allocations: 151.6 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001852/0.3567, allocations: 0.6944 MB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.3577, allocations: 0.8121 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.3577, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.3578, allocations: 7.938 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.3578, allocations: 11.92 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.358, allocations: 11.97 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.3581, allocations: 43.86 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3582, allocations: 11.98 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.3583, allocations: 15.94 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.3583, allocations: 19.91 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3584, allocations: 4 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.3584, allocations: 8 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.3584, allocations: 8 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.3584, allocations: 27.84 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3586, allocations: 35.81 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3586, allocations: 4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3586, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3586, allocations: 0 / 1.168 GB, free: 4.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005701/0.3592, allocations: 359.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3592, allocations: 16.02 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3592, allocations: 4.891 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3594, allocations: 172.3 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3594, allocations: 12.3 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3594, allocations: 4.375 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3597, allocations: 70.22 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3597, allocations: 192 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3597, allocations: 3.938 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3597, allocations: 8 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.36, allocations: 63.86 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3604, allocations: 276.8 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3607, allocations: 58.47 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3608, allocations: 36.92 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3609, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3609, allocations: 34.56 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3609, allocations: 4 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005694/0.3615, allocations: 133.5 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3615, allocations: 51.41 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.3616, allocations: 105.8 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3616, allocations: 25.7 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.3617, allocations: 92.12 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3617, allocations: 11.89 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3618, allocations: 21.72 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3619, allocations: 310.8 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.362, allocations: 35.95 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3622, allocations: 27.97 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3625, allocations: 72.78 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3625, allocations: 3.938 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.3628, allocations: 97.56 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3628, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3628, allocations: 0 / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3629, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.363, allocations: 19.97 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.363, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.3631, allocations: 11.98 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3631, allocations: 0 / 1.17 GB, free: 2.648 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 (3): * Single equations (assignments): 3 * 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 8.854e-05/0.3632, allocations: 113.8 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3632, allocations: 7.953 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.3636, allocations: 113.8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3636, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3636, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3637, allocations: 4.031 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.3638, allocations: 173.6 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3638, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3639, allocations: 15.98 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.364, allocations: 11.88 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.364, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.364, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.364, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.3644, allocations: 199.4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3644, allocations: 89.05 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3644, allocations: 4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3646, allocations: 15.92 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3646, allocations: 3.984 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.3646, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.3647, allocations: 87.28 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002264/0.3649, allocations: 8 kB / 1.171 GB, free: 1.711 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.0001804/0.3651, allocations: 103.2 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.3655, allocations: 71.92 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3655, allocations: 0 / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3657, allocations: 35.91 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3661, allocations: 15.92 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3665, allocations: 117.4 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3667, allocations: 0.6768 MB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.3668, allocations: 4 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3668, allocations: 7.438 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3668, allocations: 0 / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of Templates: time 0.002949/0.3698, allocations: 0.6808 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches