Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001551/0.001551, 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.001588/0.001588, 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 1/1, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.979/1.979, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.126e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001781/0.001803, allocations: 0.6851 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003007, allocations: 0.8936 MB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.003046, allocations: 1.594 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.003077, allocations: 3.984 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.003144, allocations: 0 / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.003322, allocations: 11.94 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.003405, allocations: 24.92 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003507, allocations: 4 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.003601, allocations: 19.97 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.003645, allocations: 12.7 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.003668, allocations: 0 / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.003677, allocations: 5.688 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.003694, allocations: 4 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.003717, allocations: 0 / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.003804, allocations: 15.92 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003807, allocations: 1.531 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003807, allocations: 0 / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003812, allocations: 0 / 0.8132 GB, free: 320 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004247/0.004236, allocations: 360.6 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.004282, allocations: 13.41 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.004324, allocations: 0.9375 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.004428, allocations: 116.6 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.00444, allocations: 384 / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.004449, allocations: 6.062 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.004597, allocations: 50.95 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004604, allocations: 192 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004614, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004623, allocations: 1.031 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.004664, allocations: 15.92 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.005, allocations: 240.7 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.005061, allocations: 35 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.005091, allocations: 16.34 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005109, allocations: 1.375 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.005137, allocations: 33.39 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.005138, allocations: 0 / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.00018/0.005318, allocations: 48.19 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.005357, allocations: 59.34 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.005449, allocations: 157.9 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.005462, allocations: 25.7 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.005519, allocations: 130.9 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.005544, allocations: 15.88 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.00558, allocations: 15.38 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.005737, allocations: 0.4889 MB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.005757, allocations: 4.719 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.00577, allocations: 0 / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.005809, allocations: 17.88 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005811, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.932e-05/0.00589, allocations: 37.7 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.005906, allocations: 11.92 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.005913, allocations: 4.438 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.005926, allocations: 0.5938 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.006013, allocations: 4 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.006021, allocations: 4.781 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.006048, allocations: 0 / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006054, allocations: 1.156 kB / 0.8151 GB, free: 14.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.589e-05/0.006139, allocations: 160.6 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.006164, allocations: 0.5938 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.006189, allocations: 15.19 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.006193, allocations: 5.125 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.006197, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.0062, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.006343, allocations: 113.8 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.006346, allocations: 4 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.006383, allocations: 4.844 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.006387, allocations: 3.984 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006395, allocations: 0 / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.006398, allocations: 6.156 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.006399, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.006542, allocations: 199.9 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.00655, allocations: 0 / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.006564, allocations: 4 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.006601, allocations: 6.719 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.006637, allocations: 11.98 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006639, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.006674, allocations: 119.2 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006674, allocations: 4 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000138/0.006812, allocations: 0 / 0.8157 GB, free: 13.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.674e-05/0.006879, allocations: 100.7 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.676e-05/0.006946, allocations: 11.69 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006947, allocations: 0 / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.006964, allocations: 20.12 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.007134, allocations: 4.5 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.007362, allocations: 112.3 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.007397, allocations: 55.34 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.007411, allocations: 5.344 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.007434, allocations: 8.5 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.007435, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.001872/0.009307, allocations: 474.1 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.167250164085999]