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.001025/0.001025, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009819/0.0009819, allocations: 169 kB / 24.28 MB, free: 276 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.9647/0.9647, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.836/1.836, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.224e-06/2.224e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.846e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00208/0.002108, allocations: 0.7167 MB / 0.8122 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003112, allocations: 0.8753 MB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.003149, allocations: 5.406 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.00317, allocations: 0 / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.003229, allocations: 3.938 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.003356, allocations: 31.83 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003441, allocations: 44.7 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.003523, allocations: 11.98 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.003591, allocations: 28.84 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.003635, allocations: 19.97 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003654, allocations: 4.625 kB / 0.8132 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.003661, allocations: 4 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.003679, allocations: 16.45 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.003699, allocations: 12.48 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.296e-05/0.003772, allocations: 39.83 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003775, allocations: 1.25 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003776, allocations: 0 / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.00378, allocations: 0 / 0.8133 GB, free: 240 kB / 0.7605 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.0003409/0.004121, allocations: 370.9 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004152, allocations: 8.031 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.004184, allocations: 8.891 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.00427, allocations: 116.6 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.004287, allocations: 4.375 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004295, allocations: 384 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004419, allocations: 75.53 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004426, allocations: 5.469 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.004434, allocations: 0 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.00444, allocations: 0 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.004486, allocations: 23.97 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.004741, allocations: 276.9 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.004834, allocations: 54.98 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.00486, allocations: 12.22 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.004871, allocations: 5.312 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.00489, allocations: 37.39 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.004891, allocations: 0 / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.005034, allocations: 62.94 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.00506, allocations: 51.41 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.005134, allocations: 165.9 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.005147, allocations: 26.23 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.005189, allocations: 150.7 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.005202, allocations: 4.484 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.00523, allocations: 24.25 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005333, allocations: 0.4884 MB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.005358, allocations: 4.812 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.005376, allocations: 8 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.00542, allocations: 28.2 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005422, allocations: 5.312 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.114e-05/0.005493, allocations: 57.58 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.005503, allocations: 4 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.005506, allocations: 4 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005516, allocations: 1.156 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.005587, allocations: 11.98 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005591, allocations: 0.6875 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.005614, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.005621, allocations: 8.672 kB / 0.8153 GB, free: 13.97 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.488e-05/0.005686, allocations: 165.1 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.005702, allocations: 4 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.00572, allocations: 5.312 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005721, allocations: 0 / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.005724, allocations: 256 / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005728, allocations: 4 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/0.005823, allocations: 130 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005824, allocations: 7.938 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.005854, allocations: 11.92 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005855, allocations: 4.594 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.005861, allocations: 1.141 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005862, allocations: 0 / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005863, allocations: 0 / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.005971, allocations: 213.5 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005979, allocations: 3.938 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.005988, allocations: 0 / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.006025, allocations: 4 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.006064, allocations: 12.89 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.00607, allocations: 3.984 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.006104, allocations: 126.6 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006104, allocations: 3.938 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000141/0.006245, allocations: 12 kB / 0.816 GB, free: 13.21 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 7.676e-05/0.006321, allocations: 99.19 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.006403, allocations: 31.67 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006404, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.006434, allocations: 19.67 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.0066, allocations: 20.36 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.006818, allocations: 134.6 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.00685, allocations: 59.34 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.006875, allocations: 1.75 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.006907, allocations: 16.5 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.006908, allocations: 4.656 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.002137/0.009045, allocations: 0.9682 MB / 0.8173 GB, free: 11.84 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: 4.978311078855768]