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.001399/0.001399, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001363/0.001363, allocations: 187 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 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.454/2.454, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9795/0.981, allocations: 151.7 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002071/0.9831, allocations: 0.654 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.9842, allocations: 0.8453 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.9843, allocations: 0 / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.9844, allocations: 3.938 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.9845, allocations: 7.984 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.9847, allocations: 15.92 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.9848, allocations: 23.98 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.9849, allocations: 8 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.9849, allocations: 15.86 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.985, allocations: 8 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.985, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.985, allocations: 8 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.9851, allocations: 4 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.9851, allocations: 15.91 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.9852, allocations: 27.84 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9852, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9852, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9852, allocations: 0 / 1.169 GB, free: 2.203 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.0004887/0.9857, allocations: 331.5 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9858, allocations: 12.92 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.9858, allocations: 8.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.986, allocations: 168.2 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.986, allocations: 384 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.986, allocations: 4.375 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.9862, allocations: 50.23 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.9862, allocations: 4.125 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9862, allocations: 3.938 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9862, allocations: 0 / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.9864, allocations: 39.95 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.9867, allocations: 236.9 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9869, allocations: 46.53 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.987, allocations: 16.91 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.987, allocations: 4 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.987, allocations: 38.5 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.987, allocations: 4 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.9874, allocations: 77.55 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.9874, allocations: 55.34 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.9876, allocations: 110 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.9876, allocations: 25.7 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.9876, allocations: 80.14 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.9876, allocations: 7.906 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.9877, allocations: 13.72 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9878, allocations: 310.8 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.9879, allocations: 19.97 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.988, allocations: 27.92 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.9881, allocations: 36.83 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9882, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.9884, allocations: 65.59 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9884, allocations: 8 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9884, allocations: 4.094 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9884, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.9885, allocations: 7.984 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9885, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.9886, allocations: 7.984 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.9886, allocations: 4 kB / 1.171 GB, free: 188 kB / 0.8887 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 0.000139/0.9887, allocations: 113.7 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.9888, allocations: 3.938 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.9888, allocations: 11.12 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9888, allocations: 4 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9888, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9888, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.989, allocations: 161.6 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.989, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.9891, allocations: 8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9891, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9891, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.9891, allocations: 3.984 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9891, allocations: 3.984 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.9894, allocations: 163.7 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.9894, allocations: 88.98 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.9894, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.9895, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.9896, allocations: 15.86 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.9896, allocations: 4.031 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.9896, allocations: 79.28 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9896, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002219/0.9899, allocations: 8 kB / 1.171 GB, free: 15.43 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.0001484/0.99, allocations: 95.25 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.9902, allocations: 35.95 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9903, allocations: 8.062 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.9903, allocations: 11.98 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.9907, allocations: 16.11 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.9911, allocations: 131.1 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.9914, allocations: 0.6768 MB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.9915, allocations: 7.438 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/0.9915, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.001978/0.9934, allocations: 0.5422 MB / 1.173 GB, free: 13.84 MB / 0.9044 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/jenkins1/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