Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01198/0.01198, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.002614/0.002614, allocations: 195.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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9772/0.9784, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002065/0.9805, allocations: 0.6762 MB / 1.167 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.9815, allocations: 0.8375 MB / 1.168 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.9816, allocations: 4 kB / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.9816, allocations: 7.922 kB / 1.168 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.9817, allocations: 4 kB / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.9819, allocations: 19.91 kB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.982, allocations: 31.92 kB / 1.168 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.9821, allocations: 8 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.9822, allocations: 15.92 kB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.9822, allocations: 15.92 kB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.9822, allocations: 4 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.9823, allocations: 4 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.9823, allocations: 7.984 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.9823, allocations: 19.92 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.9824, allocations: 27.89 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9824, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9824, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9825, allocations: 4 kB / 1.168 GB, free: 2.301 MB / 0.8887 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.0005862/0.983, allocations: 356.3 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9831, allocations: 12.92 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.9831, allocations: 8.922 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9833, allocations: 172.3 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.9833, allocations: 4.312 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.9833, allocations: 384 / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.9835, allocations: 62.22 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.9835, allocations: 192 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9836, allocations: 7.938 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9836, allocations: 0 / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.9838, allocations: 55.94 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.9842, allocations: 264.9 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.9844, allocations: 66.41 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.9845, allocations: 44.8 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.9846, allocations: 0 / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.9846, allocations: 38.56 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9846, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004436/0.9851, allocations: 109.6 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.9851, allocations: 55.34 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.9853, allocations: 105.8 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.9853, allocations: 25.7 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.9854, allocations: 92.12 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.9854, allocations: 3.953 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.9854, allocations: 17.83 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9856, allocations: 318.8 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.9857, allocations: 32.83 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.9858, allocations: 37.69 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.986, allocations: 60.89 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.986, allocations: 0 / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002501/0.9863, allocations: 93.52 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9863, allocations: 11.98 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9863, allocations: 4.031 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9863, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9864, allocations: 11.98 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.9865, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.9865, allocations: 15.94 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.9865, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000123/0.9867, allocations: 104.1 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.415e-05/0.9868, allocations: 33.69 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001265/0.9869, allocations: 36.83 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.9869, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000167/0.9871, allocations: 73.53 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.9871, allocations: 8.125 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.9871, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.9871, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.9872, allocations: 7.984 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.9872, allocations: 4.188 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.9872, allocations: 11.98 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.9872, allocations: 4 kB / 1.171 GB, free: 15.72 MB / 0.9044 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 9.805e-05/0.9873, allocations: 188.1 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.9874, allocations: 8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.9874, allocations: 3.531 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9874, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9874, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9874, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.9876, allocations: 165.6 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.9876, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.9877, allocations: 19.97 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9877, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9877, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9877, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9877, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.988, allocations: 187.3 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.9881, allocations: 81.05 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.9881, allocations: 3.984 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.9882, allocations: 16.02 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.9882, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.9882, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.9883, allocations: 83.28 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9883, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000264/0.9885, allocations: 8 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.000173/0.9887, allocations: 103.2 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.9891, allocations: 79.86 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9891, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.9892, allocations: 31.97 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.9895, allocations: 12.11 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.99, allocations: 125.4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.9903, allocations: 0.6807 MB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.9903, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.9904, allocations: 11.44 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.9904, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.002919/0.9933, allocations: 0.5982 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches