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.001432/0.001432, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 191.2 kB / 16.67 MB, free: 6.57 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.444/1.444, allocations: 222.9 MB / 240.3 MB, free: 4.359 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.865/2.865, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.89 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.369, allocations: 151.6 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001959/0.371, allocations: 0.71 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.372, allocations: 0.8121 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.372, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3721, allocations: 3.938 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.3722, allocations: 7.922 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.3723, allocations: 19.92 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.3724, allocations: 39.91 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3725, allocations: 8 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.3726, allocations: 15.92 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.3726, allocations: 31.91 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3727, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.3727, allocations: 4 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3727, allocations: 4 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.3728, allocations: 19.86 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3729, allocations: 43.8 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3729, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3729, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3729, allocations: 0 / 1.168 GB, free: 5.008 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.0005469/0.3735, allocations: 367.3 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3735, allocations: 8.031 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.3735, allocations: 8.891 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3737, allocations: 168.3 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3737, allocations: 4.375 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3737, allocations: 384 / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.374, allocations: 70.22 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.374, allocations: 4.188 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.374, allocations: 3.938 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.374, allocations: 3.938 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.3743, allocations: 67.86 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3747, allocations: 272.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3749, allocations: 66.47 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3751, allocations: 32.92 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3751, allocations: 4 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.3751, allocations: 30.56 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3751, allocations: 4 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.00056/0.3757, allocations: 129.5 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3758, allocations: 51.41 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.3758, allocations: 109.8 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3759, allocations: 25.7 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.3759, allocations: 88.14 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.376, allocations: 19.89 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.376, allocations: 13.7 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3761, allocations: 318.8 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3763, allocations: 23.97 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3764, allocations: 39.95 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.3767, allocations: 68.78 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3767, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003479/0.3771, allocations: 101.6 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3771, allocations: 8 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3771, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3771, allocations: 4 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3773, allocations: 11.98 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3773, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.3774, allocations: 15.97 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.3774, allocations: 0 / 1.17 GB, free: 2.676 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 7.861e-05/0.3774, allocations: 117.8 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3775, allocations: 8.281 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.3779, allocations: 109.4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3779, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3779, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3779, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3781, allocations: 173.6 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3781, allocations: 4 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.3782, allocations: 19.92 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3782, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3782, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3782, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3782, allocations: 4 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3786, allocations: 203.4 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.3786, allocations: 84.98 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3787, allocations: 3.938 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3788, allocations: 11.98 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3788, allocations: 11.98 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3788, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.3789, allocations: 83.59 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3789, allocations: 4 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002213/0.3791, allocations: 8 kB / 1.171 GB, free: 1.738 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.0001484/0.3793, allocations: 99.25 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3796, allocations: 67.91 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3796, allocations: 0 / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3798, allocations: 39.91 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.3801, allocations: 13.5 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3804, allocations: 117.4 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3807, allocations: 0.6807 MB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.3808, allocations: 4 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.3808, allocations: 11.44 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/0.3808, allocations: 0 / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of Templates: time 0.00289/0.3837, allocations: 0.6743 MB / 1.173 GB, free: 15.98 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