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.00122/0.00122, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001177/0.001177, allocations: 181 kB / 24.08 MB, free: 420 kB / 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.9853/0.9853, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.926/1.926, allocations: 377.9 MB / 0.624 GB, free: 8.422 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 3.887e-06/3.887e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.016e-05/4.404e-05, allocations: 6.875 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001952/0.001996, allocations: 0.7192 MB / 0.8127 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003249, allocations: 0.8766 MB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.003304, allocations: 0 / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.003335, allocations: 3.938 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.645e-05/0.003421, allocations: 7.938 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.003585, allocations: 35.83 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.00366, allocations: 35.92 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003777, allocations: 13.05 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.003886, allocations: 31.97 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.003957, allocations: 20.78 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.003979, allocations: 4 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.00399, allocations: 8 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.00401, allocations: 9.281 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.00404, allocations: 19.91 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.004138, allocations: 31.91 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.004145, allocations: 1.688 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.626e-06/0.004149, allocations: 3.984 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.004155, allocations: 0 / 0.8138 GB, free: 15.65 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.0003944/0.004549, allocations: 368.6 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.004595, allocations: 8.938 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.004631, allocations: 12.88 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.00472, allocations: 112.6 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.00474, allocations: 0.9062 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.004749, allocations: 8.969 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.004886, allocations: 67.41 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.004896, allocations: 3.938 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004904, allocations: 5.297 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004911, allocations: 4 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.004943, allocations: 15.97 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.005243, allocations: 253 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.005331, allocations: 52.34 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.005354, allocations: 19.66 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.005374, allocations: 5.141 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.005398, allocations: 37.39 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.0054, allocations: 0 / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.005559, allocations: 54.84 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.005589, allocations: 59.34 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.005659, allocations: 161.9 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005671, allocations: 30.55 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.005723, allocations: 134.8 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.005742, allocations: 12.78 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.005775, allocations: 27.36 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.00589, allocations: 493.4 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.005908, allocations: 4 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.005923, allocations: 7.984 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.00596, allocations: 24.52 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005961, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.844e-05/0.00604, allocations: 62.72 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.006057, allocations: 10.5 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006062, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006074, allocations: 1.312 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.006159, allocations: 12 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.006163, allocations: 0 / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.00619, allocations: 5.547 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.006196, allocations: 4 kB / 0.8158 GB, free: 13.43 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 7.243e-05/0.006268, allocations: 152.6 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.006286, allocations: 11.88 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.006314, allocations: 10.78 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.006317, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006319, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006321, allocations: 4 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.00642, allocations: 101.5 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.006423, allocations: 4 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.00646, allocations: 11.98 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006462, allocations: 0.5 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.006469, allocations: 7.938 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00647, allocations: 0.5312 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006471, allocations: 1.938 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.006598, allocations: 207.8 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.006609, allocations: 4 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.006619, allocations: 3.938 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.006658, allocations: 4 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.006703, allocations: 13.25 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006708, allocations: 4 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.006748, allocations: 123.8 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006748, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001349/0.006883, allocations: 8.656 kB / 0.8164 GB, free: 12.72 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 0.0001009/0.006984, allocations: 98.09 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.007074, allocations: 35.58 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.007077, allocations: 4 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.007104, allocations: 15.69 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.007291, allocations: 15.92 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.007556, allocations: 131.8 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.007593, allocations: 59.34 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.007622, allocations: 4.938 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.007684, allocations: 78.19 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007685, allocations: 1.094 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.002654/0.01034, allocations: 1.034 MB / 0.8179 GB, free: 11.21 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.175616402179003]