Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 169 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9965/0.9965, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.957/1.957, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.442e-05, allocations: 3.406 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001322/0.001347, allocations: 0.7218 MB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.002422, allocations: 0.875 MB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.002459, allocations: 0.9062 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.002489, allocations: 3.938 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.002559, allocations: 9.609 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.002708, allocations: 23.92 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.419e-05/0.002782, allocations: 51.83 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.002874, allocations: 8 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.002949, allocations: 25.5 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.003021, allocations: 24 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.00304, allocations: 4 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.003051, allocations: 4 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.003071, allocations: 17.73 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.003094, allocations: 8 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003198, allocations: 43.66 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003201, allocations: 0 / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003201, allocations: 4 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003206, allocations: 1.094 kB / 0.8133 GB, free: 15.91 MB / 0.7761 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.0003653/0.003571, allocations: 364.6 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00361, allocations: 13.03 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.003648, allocations: 8.891 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.003733, allocations: 108.6 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.003753, allocations: 5.312 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.003766, allocations: 4.375 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.003902, allocations: 73.14 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.003913, allocations: 3.938 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.003923, allocations: 0 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.003931, allocations: 4 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.003975, allocations: 15.98 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.00429, allocations: 280.2 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.004391, allocations: 59.62 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.004421, allocations: 16.25 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.004437, allocations: 7.938 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.004457, allocations: 34.98 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004458, allocations: 0 / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001708/0.004629, allocations: 61.67 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.004655, allocations: 56.03 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.004728, allocations: 169.9 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.004738, allocations: 26.48 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.004783, allocations: 138.8 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.004799, allocations: 8.547 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.00483, allocations: 23.38 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004933, allocations: 496.7 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.004955, allocations: 4.688 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.004975, allocations: 11.98 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.005019, allocations: 25.06 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.005022, allocations: 3.938 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.506e-05/0.005097, allocations: 53.64 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005109, allocations: 8.812 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005113, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.005128, allocations: 8.859 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.005211, allocations: 8.25 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.005216, allocations: 1.219 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.005242, allocations: 11.98 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005248, allocations: 3.984 kB / 0.8154 GB, free: 13.64 MB / 0.7761 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.465e-05/0.005313, allocations: 165.5 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.005329, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.005352, allocations: 6.25 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.005355, allocations: 4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.005359, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005361, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.005462, allocations: 124.6 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.005464, allocations: 3.938 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.005498, allocations: 15.23 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005499, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.005506, allocations: 3.938 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005506, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005507, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.005628, allocations: 212.1 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.005637, allocations: 11.97 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.005648, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.005686, allocations: 3.984 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.005736, allocations: 13.08 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.00574, allocations: 4 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.005776, allocations: 123.7 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005776, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001464/0.005922, allocations: 8.562 kB / 0.816 GB, free: 12.9 MB / 0.7761 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 8.277e-05/0.006005, allocations: 101 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.006101, allocations: 35.61 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006102, allocations: 0 / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.006135, allocations: 24.77 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.00632, allocations: 11.88 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.006581, allocations: 128 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.006616, allocations: 59.34 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.006643, allocations: 6.094 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.006684, allocations: 20.48 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006685, allocations: 1.125 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.002445/0.00913, allocations: 0.9659 MB / 0.8173 GB, free: 11.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.383070393931121]