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.001745/0.001745, allocations: 105.3 kB / 16.41 MB, free: 6.512 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.001515/0.001515, allocations: 187 kB / 17.34 MB, free: 5.742 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.322/1.322, 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 11.0.1-master/package.mo): time 2.409/2.409, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7722, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001887/0.7741, allocations: 0.6899 MB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.7752, allocations: 0.843 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.7752, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.7753, allocations: 3.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.7754, allocations: 3.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.7755, allocations: 23.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.7756, allocations: 43.97 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.7757, allocations: 11.98 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.7758, allocations: 27.86 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.7759, allocations: 27.91 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.7759, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.776, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.776, allocations: 19.86 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.776, allocations: 19.92 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.7761, allocations: 47.8 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7761, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7762, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7762, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 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.0004833/0.7767, allocations: 355.2 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.7767, allocations: 12.03 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.7767, allocations: 4.844 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.7769, allocations: 168.4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.7769, allocations: 384 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.7769, allocations: 8.375 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.7771, allocations: 69.53 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7772, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7772, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7772, allocations: 3.984 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.7774, allocations: 51.95 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.7779, allocations: 290.5 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.7781, allocations: 70.48 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.7782, allocations: 32.91 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.7782, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.7782, allocations: 30.56 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.7782, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003949/0.7786, allocations: 109.6 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.7787, allocations: 59.34 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.7788, allocations: 109.8 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7788, allocations: 25.7 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.7788, allocations: 80.14 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.7789, allocations: 23.73 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.7789, allocations: 17.72 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7791, allocations: 314.8 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.7792, allocations: 27.97 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.7793, allocations: 27.97 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.7795, allocations: 52.81 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.7795, allocations: 0 / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002462/0.7797, allocations: 89.53 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7798, allocations: 4 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.7798, allocations: 8 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.7798, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7799, allocations: 15.97 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7799, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.78, allocations: 4.25 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.78, allocations: 3.938 kB / 1.212 GB, free: 9.543 MB / 0.9356 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.531e-05/0.7801, allocations: 121.8 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.7801, allocations: 3.906 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.7802, allocations: 15.91 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7802, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7802, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7802, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.7804, allocations: 181.6 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7804, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.7805, allocations: 12.31 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.7805, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.7805, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7805, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7805, allocations: 4 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.7808, allocations: 191.4 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.7808, allocations: 81.02 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.7809, allocations: 4 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.781, allocations: 7.984 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.781, allocations: 11.98 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.7811, allocations: 8 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.7811, allocations: 83.27 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7811, allocations: 0 / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002221/0.7813, allocations: 11.94 kB / 1.213 GB, free: 8.715 MB / 0.9356 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.0001052/0.7814, allocations: 99.25 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.7817, allocations: 51.89 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7817, allocations: 8 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.7818, allocations: 31.97 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.7821, allocations: 4 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.7824, allocations: 162.2 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.7827, allocations: 0.6845 MB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.7827, allocations: 15.42 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7827, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of Templates: time 0.001976/0.7847, allocations: 0.8206 MB / 1.215 GB, free: 6.785 MB / 0.9356 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/jenkins1/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