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.001463/0.001463, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001134/0.001134, allocations: 172.3 kB / 24.87 MB, free: 8.879 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 1.067/1.067, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.908/1.908, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.615e-06/2.615e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.129e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002302/0.002334, allocations: 0.7142 MB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003559, allocations: 0.8719 MB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.003607, allocations: 0 / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.003641, allocations: 3.938 kB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/0.00373, allocations: 15.86 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.003892, allocations: 21.48 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.003984, allocations: 51.89 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.00409, allocations: 8 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.004184, allocations: 27.91 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.004254, allocations: 21.19 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.00428, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.004292, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.004316, allocations: 13.58 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.004345, allocations: 11.94 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.004454, allocations: 43.81 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004457, allocations: 0 / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004458, allocations: 0.7188 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004463, allocations: 0 / 0.8146 GB, free: 15.63 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.000445/0.004908, allocations: 377 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.004954, allocations: 9.688 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.004992, allocations: 8.891 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005101, allocations: 108.6 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.005122, allocations: 384 / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.005136, allocations: 8.375 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.005293, allocations: 67.52 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.005303, allocations: 5.031 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.005315, allocations: 4 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.00532, allocations: 4 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.254e-05/0.005363, allocations: 13.14 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.005708, allocations: 252.3 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.005828, allocations: 56.42 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.005856, allocations: 15.66 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.00587, allocations: 1.75 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.005898, allocations: 41.42 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.0059, allocations: 0 / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.006096, allocations: 53.69 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.00614, allocations: 56.19 kB / 0.8156 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.00625, allocations: 165.9 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.006266, allocations: 25.7 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.006345, allocations: 140.7 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.006369, allocations: 11.94 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.006419, allocations: 23.38 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.006609, allocations: 496.1 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.006648, allocations: 7.984 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.006669, allocations: 4.719 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.006726, allocations: 22.05 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.00673, allocations: 4 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.006848, allocations: 53.86 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.006867, allocations: 11.94 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.006873, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.006889, allocations: 48 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.006992, allocations: 21.81 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.006997, allocations: 0 / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.007036, allocations: 4 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007043, allocations: 0 / 0.8165 GB, free: 13.42 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 0.0001201/0.007163, allocations: 157.1 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.007193, allocations: 7.938 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.00722, allocations: 8.734 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.007224, allocations: 5.875 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007227, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007231, allocations: 0 / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.007374, allocations: 109.2 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007376, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.007429, allocations: 6.5 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.007432, allocations: 4 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.007443, allocations: 7.922 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007444, allocations: 0 / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007445, allocations: 0 / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.007678, allocations: 199.8 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.00769, allocations: 5.156 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007702, allocations: 3.938 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.007768, allocations: 11.98 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.007809, allocations: 8.672 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-06/0.007813, allocations: 4 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.007853, allocations: 131.8 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007853, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001421/0.007995, allocations: 11.69 kB / 0.8172 GB, free: 12.7 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 9.317e-05/0.008089, allocations: 91.25 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.008165, allocations: 31.61 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.008166, allocations: 0 / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.008196, allocations: 23.67 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.008378, allocations: 11.94 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.008611, allocations: 128.3 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.008643, allocations: 55.36 kB / 0.8175 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.00867, allocations: 4.938 kB / 0.8175 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.008731, allocations: 83.31 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of SimCode: time 3.7e-07/0.008731, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002549/0.01128, allocations: 1.074 MB / 0.8187 GB, free: 11.17 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.29123837640509]