Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008748/0.008748, allocations: 96.53 kB / 15.73 MB, free: 6.039 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.001456/0.001456, allocations: 196.4 kB / 16.67 MB, free: 5.969 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001721/0.3459, allocations: 0.6693 MB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.3469, allocations: 0.8512 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.347, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.347, allocations: 3.938 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.3471, allocations: 0 / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.3473, allocations: 19.92 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.3474, allocations: 23.92 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.3475, allocations: 7.984 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.3475, allocations: 15.88 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3476, allocations: 7.922 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3476, allocations: 4 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.3476, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.3476, allocations: 8 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.3477, allocations: 11.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.3478, allocations: 19.91 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3478, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3478, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3478, allocations: 0 / 1.168 GB, free: 5.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000486/0.3483, allocations: 343.4 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3484, allocations: 8.031 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3484, allocations: 0.9375 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3485, allocations: 172.3 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3485, allocations: 384 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3486, allocations: 4.375 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3487, allocations: 50.23 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3488, allocations: 192 / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3488, allocations: 3.938 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3488, allocations: 3.938 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.349, allocations: 35.95 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3493, allocations: 245 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3494, allocations: 42.48 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.3495, allocations: 24.91 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3495, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3496, allocations: 34.5 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3496, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.3499, allocations: 85.64 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.35, allocations: 51.41 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.3501, allocations: 93.86 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3501, allocations: 29.7 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.3501, allocations: 88.12 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3502, allocations: 4.078 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3502, allocations: 13.72 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.3503, allocations: 318.8 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.3504, allocations: 11.98 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.3505, allocations: 19.97 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3506, allocations: 44.83 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3506, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.3508, allocations: 73.55 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3509, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3509, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3509, allocations: 7.875 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.351, allocations: 11.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.351, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.3511, allocations: 8.031 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3511, allocations: 0 / 1.17 GB, free: 3.062 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 (2): * Single equations (assignments): 2 * 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.55e-05/0.3511, allocations: 124.2 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3512, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3512, allocations: 7.062 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3512, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3512, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3512, allocations: 4 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3514, allocations: 157.6 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3514, allocations: 8.188 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.3515, allocations: 7.984 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3515, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3515, allocations: 3.984 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3515, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3515, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3517, allocations: 163.5 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.3518, allocations: 85.06 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3518, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3519, allocations: 4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3519, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.3519, allocations: 3.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.352, allocations: 87.22 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000215/0.3522, allocations: 7.938 kB / 1.171 GB, free: 2.312 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 (2): * Single equations (assignments): 2 * 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.0001343/0.3524, allocations: 103.3 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3526, allocations: 35.95 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3526, allocations: 0 / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3527, allocations: 19.98 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.353, allocations: 8.062 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.3533, allocations: 101.5 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3536, allocations: 0.6806 MB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.3536, allocations: 4 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.3536, allocations: 7.438 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3537, allocations: 3.938 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of Templates: time 0.002584/0.3562, allocations: 440.2 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches