Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001198, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.923/2.923, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 72.08 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4633, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002577/0.4659, allocations: 0.7642 MB / 1.053 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.467, allocations: 0.839 MB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.4671, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.4671, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.4672, allocations: 11.92 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.4674, allocations: 23.97 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.63e-05/0.4675, allocations: 43.86 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4676, allocations: 15.98 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.4677, allocations: 15.92 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.4678, allocations: 27.91 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.4678, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.4679, allocations: 4 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.4679, allocations: 11.98 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.4679, allocations: 19.86 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.468, allocations: 39.86 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.468, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/0.468, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4681, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 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.0005846/0.4686, allocations: 359.6 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4687, allocations: 12.03 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.4687, allocations: 4.938 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4689, allocations: 172.3 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4689, allocations: 4.312 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.469, allocations: 4.375 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.4692, allocations: 65.78 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4692, allocations: 0 / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4692, allocations: 8 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4692, allocations: 0 / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.4694, allocations: 51.95 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.4699, allocations: 292.7 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4701, allocations: 66.52 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.4702, allocations: 36.88 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4703, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4703, allocations: 34.55 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4703, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004461/0.4708, allocations: 117.4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4708, allocations: 51.41 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4709, allocations: 113.8 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4709, allocations: 25.7 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.471, allocations: 84.14 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.471, allocations: 11.84 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.4711, allocations: 21.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4712, allocations: 318.8 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4713, allocations: 23.97 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4714, allocations: 31.97 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.4716, allocations: 48.83 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4716, allocations: 3.984 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002529/0.4719, allocations: 85.5 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4719, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4719, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.472, allocations: 4 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4721, allocations: 11.98 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4721, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.4722, allocations: 11.98 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.4722, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 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 8.802e-05/0.4723, allocations: 115.3 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.4723, allocations: 3.984 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.4724, allocations: 11.91 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4724, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4724, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4724, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.4726, allocations: 181.5 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4726, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4727, allocations: 15.98 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4727, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4727, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4727, allocations: 3.938 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4727, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.4731, allocations: 187.4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4732, allocations: 81.05 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4732, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4733, allocations: 7.984 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.4734, allocations: 12.36 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4734, allocations: 4 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.4734, allocations: 95.52 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.575e-06/0.4735, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002233/0.4737, allocations: 15.84 kB / 1.057 GB, free: 3.895 MB / 0.8106 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.0001381/0.4738, allocations: 103.1 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4741, allocations: 59.88 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4741, allocations: 4 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4742, allocations: 31.97 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4746, allocations: 11.56 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.4749, allocations: 135.3 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4753, allocations: 0.6809 MB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.4753, allocations: 11.98 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.4754, allocations: 11.44 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.4754, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.003181/0.4786, allocations: 0.7653 MB / 1.058 GB, free: 2.031 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches