Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001145/0.001145, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001192/0.001192, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8556, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001789/0.8574, allocations: 0.7065 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.8583, allocations: 0.8363 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.8584, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.8584, allocations: 6.125 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.8585, allocations: 3.938 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.8586, allocations: 22.86 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.8587, allocations: 45.23 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.8589, allocations: 16.81 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.8589, allocations: 24.06 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.859, allocations: 25 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.8591, allocations: 8.281 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.8591, allocations: 4.375 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.8591, allocations: 7.828 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.8591, allocations: 25.72 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.8592, allocations: 43.78 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8593, allocations: 1.344 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8593, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.8593, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 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.0004558/0.8597, allocations: 351.3 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8598, allocations: 9.5 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.8598, allocations: 3.031 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.8599, allocations: 169.2 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8599, allocations: 5.484 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.86, allocations: 6.375 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8602, allocations: 77.56 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8602, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8602, allocations: 1.859 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8602, allocations: 1.094 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.8604, allocations: 51.78 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.8608, allocations: 288.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.8611, allocations: 66.58 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.8612, allocations: 33.95 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.8612, allocations: 0.9688 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.8612, allocations: 32.27 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.8612, allocations: 4 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004535/0.8617, allocations: 118.7 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8617, allocations: 52.02 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.8618, allocations: 109.4 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.8618, allocations: 30.86 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.8619, allocations: 82.25 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.8619, allocations: 21.86 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.8619, allocations: 16.14 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.862, allocations: 321 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.8621, allocations: 23.83 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.8622, allocations: 24.05 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.8624, allocations: 54.59 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8624, allocations: 4 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002531/0.8627, allocations: 84.2 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8627, allocations: 6.078 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8627, allocations: 256 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8627, allocations: 4.875 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.8629, allocations: 17.5 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8629, allocations: 3.984 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.863, allocations: 11.31 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.863, allocations: 2.047 kB / 1.092 GB, free: 2.531 MB / 0.8575 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 6.046e-05/0.863, allocations: 116.3 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.8631, allocations: 6.094 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.8631, allocations: 6.141 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8631, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8631, allocations: 1.062 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8631, allocations: 0.5625 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.8633, allocations: 185.9 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8633, allocations: 5.438 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.8634, allocations: 12.77 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.8634, allocations: 0.7969 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8634, allocations: 1.281 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8634, allocations: 0.5625 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8634, allocations: 1.406 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.8637, allocations: 187.2 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.8638, allocations: 84.56 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.8638, allocations: 0 / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.8639, allocations: 6.859 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.8639, allocations: 11.45 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.864, allocations: 1.469 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3e-05/0.864, allocations: 87.23 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.864, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002297/0.8642, allocations: 10.88 kB / 1.093 GB, free: 1.848 MB / 0.8575 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.0001103/0.8643, allocations: 111.3 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.8646, allocations: 57.69 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8647, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.8648, allocations: 32.77 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.8651, allocations: 6.594 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.8654, allocations: 152 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.8656, allocations: 0.6797 MB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.8656, allocations: 17.16 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.8656, allocations: 0 / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.002381/0.868, allocations: 0.8144 MB / 1.095 GB, free: 0.8242 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches