Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.001567/0.001567, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.1 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.451/2.451, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/0.779, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001795/0.7808, allocations: 0.7075 MB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.7817, allocations: 0.8453 MB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.7818, allocations: 0 / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.7818, allocations: 0 / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.7819, allocations: 3.938 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.7821, allocations: 31.89 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.7822, allocations: 43.92 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.7823, allocations: 11.98 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.7823, allocations: 23.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.7824, allocations: 31.89 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.7824, allocations: 4 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.7825, allocations: 4 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.7825, allocations: 11.94 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.7825, allocations: 15.92 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.7826, allocations: 59.78 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7826, allocations: 0 / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7827, allocations: 0 / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.7827, allocations: 0 / 1.169 GB, free: 2.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004777/0.7831, allocations: 343.3 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.7832, allocations: 12.92 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.7832, allocations: 8.844 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7834, allocations: 172.3 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.7834, allocations: 4.375 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.7834, allocations: 4.375 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.7836, allocations: 65.59 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.7836, allocations: 0 / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7836, allocations: 8 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7837, allocations: 0 / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.7839, allocations: 51.94 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.7843, allocations: 298.5 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.7845, allocations: 58.55 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.7846, allocations: 36.91 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7846, allocations: 0 / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.7847, allocations: 30.56 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7847, allocations: 4 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004097/0.7851, allocations: 113.6 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.7851, allocations: 51.41 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.7852, allocations: 105.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7852, allocations: 25.7 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.7853, allocations: 88.12 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.7853, allocations: 19.75 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.7854, allocations: 17.72 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7855, allocations: 326.7 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.7856, allocations: 19.98 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.7857, allocations: 32.19 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.7859, allocations: 56.77 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7859, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000236/0.7862, allocations: 85.53 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7862, allocations: 7.984 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7862, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7862, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.7863, allocations: 11.98 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7864, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.7864, allocations: 12 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.7865, allocations: 3.984 kB / 1.171 GB, free: 15.81 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.397e-05/0.7866, allocations: 113.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.7866, allocations: 3.906 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.7866, allocations: 11.91 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.7866, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7866, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7866, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7868, allocations: 177.8 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7868, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.7869, allocations: 19.92 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7869, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.787, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.787, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.787, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.7873, allocations: 183.4 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.7873, allocations: 85.02 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.7873, allocations: 3.984 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.7874, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.7875, allocations: 11.98 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7875, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.7876, allocations: 91.27 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7876, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002237/0.7878, allocations: 7.938 kB / 1.172 GB, free: 15 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001091/0.7879, allocations: 109.2 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.7882, allocations: 59.94 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7882, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.7883, allocations: 23.98 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.7886, allocations: 11.98 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.7889, allocations: 155.5 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.7892, allocations: 0.6884 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.7892, allocations: 19.42 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7892, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.001988/0.7912, allocations: 0.8051 MB / 1.174 GB, free: 13.07 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches