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.00972/0.00972, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001687/0.001687, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.645/1.645, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.83/2.83, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 67.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4582, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002894/0.4611, allocations: 0.6975 MB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.4627, allocations: 0.8471 MB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.4628, allocations: 4 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.4628, allocations: 3.938 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.4629, allocations: 3.938 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.4632, allocations: 23.95 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.4634, allocations: 47.86 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4635, allocations: 11.98 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4637, allocations: 27.92 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.4638, allocations: 27.89 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.4638, allocations: 4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.4638, allocations: 4 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.4639, allocations: 8 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.4639, allocations: 19.86 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.4641, allocations: 51.78 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4641, allocations: 0 / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.743e-06/0.4641, allocations: 4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.4641, allocations: 3.938 kB / 1.168 GB, free: 5.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007638/0.4649, allocations: 351.3 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4649, allocations: 8.031 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.465, allocations: 8.922 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4652, allocations: 168.3 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4652, allocations: 4.375 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4652, allocations: 384 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.4655, allocations: 73.53 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4655, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4655, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4655, allocations: 4 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4658, allocations: 55.88 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.4663, allocations: 288.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.4666, allocations: 66.55 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4667, allocations: 36.91 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4667, allocations: 3.984 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.4668, allocations: 34.5 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4668, allocations: 0 / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004608/0.4673, allocations: 113.6 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4673, allocations: 55.39 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4675, allocations: 101.9 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4675, allocations: 29.7 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4676, allocations: 88.12 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.4677, allocations: 7.906 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4677, allocations: 17.72 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4679, allocations: 322.8 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.468, allocations: 27.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.4681, allocations: 23.97 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.4684, allocations: 57 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4684, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002372/0.4687, allocations: 89.64 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4687, allocations: 11.94 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4687, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4688, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4689, allocations: 15.98 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4689, allocations: 3.984 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.469, allocations: 4 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.469, allocations: 7.984 kB / 1.17 GB, free: 2.738 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: 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 0.0002504/0.4693, allocations: 117.7 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.4693, allocations: 7.953 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.4694, allocations: 11.84 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4694, allocations: 4 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4694, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4694, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4696, allocations: 173.6 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4696, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.4697, allocations: 15.98 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4697, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4697, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4697, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4697, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4701, allocations: 183.4 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.4701, allocations: 92.98 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4701, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.4702, allocations: 4 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.4703, allocations: 16.3 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4703, allocations: 4 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.4704, allocations: 87.27 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4704, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002248/0.4706, allocations: 7.938 kB / 1.171 GB, free: 1.918 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: 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.0001477/0.4708, allocations: 99.25 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.4711, allocations: 59.92 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4711, allocations: 4 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4712, allocations: 35.91 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.4716, allocations: 8 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.472, allocations: 121.4 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.4723, allocations: 0.6807 MB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.123e-05/0.4723, allocations: 11.98 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.4724, allocations: 15.44 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.4724, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of Templates: time 0.003848/0.4762, allocations: 0.8875 MB / 1.173 GB, free: 15.94 MB / 0.9356 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/jenkins/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