Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001251/0.001251, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001032/0.001032, allocations: 161 kB / 23.82 MB, free: 0.75 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.9673/0.9673, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.933/1.933, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.785e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001557/0.001575, allocations: 1.045 MB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002661, allocations: 1.047 MB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.002764, allocations: 8.781 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.002905, allocations: 23.73 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.002956, allocations: 28.72 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.003228, allocations: 75.78 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.003386, allocations: 177.1 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.00353, allocations: 52.52 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.003643, allocations: 108.6 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.003723, allocations: 59.78 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.003752, allocations: 17.69 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.003808, allocations: 16 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.003846, allocations: 39.89 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.003896, allocations: 51.84 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.004083, allocations: 132.9 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004085, allocations: 0 / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.004086, allocations: 4 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00409, allocations: 0 / 0.8144 GB, free: 14.78 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005797/0.00467, allocations: 0.5011 MB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004705, allocations: 12.03 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.004826, allocations: 46.33 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.005035, allocations: 163 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.005057, allocations: 20.31 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.005089, allocations: 20.33 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.005302, allocations: 158.6 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00531, allocations: 0.9062 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.005326, allocations: 8.125 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.005336, allocations: 4.531 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.00542, allocations: 54.08 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.006033, allocations: 475.7 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.006265, allocations: 103.8 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.006334, allocations: 60.28 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.006362, allocations: 4 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.006493, allocations: 119.9 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.006495, allocations: 0 / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002556/0.00675, allocations: 164.6 kB / 0.8163 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.006776, allocations: 55.41 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.006873, allocations: 199.8 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.006891, allocations: 29.7 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.006956, allocations: 172.8 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.006997, allocations: 67.42 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.007048, allocations: 51.36 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.007174, allocations: 0.4923 MB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.007247, allocations: 34.19 kB / 0.8173 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.007317, allocations: 60.56 kB / 0.8174 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.007432, allocations: 97.3 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007434, allocations: 0 / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001785/0.007613, allocations: 152.2 kB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007627, allocations: 8 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.007632, allocations: 0 / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.007649, allocations: 0 / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.007747, allocations: 35.97 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.007753, allocations: 4 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.0078, allocations: 15.89 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.007811, allocations: 9.453 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.045e-05/0.007892, allocations: 172.5 kB / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.00791, allocations: 19.95 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.008088, allocations: 135.2 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.00809, allocations: 4.562 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.008093, allocations: 5.312 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.008098, allocations: 3.984 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.008527, allocations: 0.5212 MB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.00853, allocations: 4 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.008615, allocations: 27.98 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.008619, allocations: 4 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.008635, allocations: 12.52 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008637, allocations: 0 / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.008644, allocations: 20.98 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.008913, allocations: 368.2 kB / 0.8189 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.008927, allocations: 15.84 kB / 0.819 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.008945, allocations: 8 kB / 0.819 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.009007, allocations: 16.77 kB / 0.819 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.009057, allocations: 23.91 kB / 0.819 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.009068, allocations: 12.55 kB / 0.819 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.009122, allocations: 152.7 kB / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009122, allocations: 0 / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001666/0.009289, allocations: 28 kB / 0.8192 GB, free: 9.559 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.549e-05/0.009374, allocations: 107.2 kB / 0.8193 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.009546, allocations: 110 kB / 0.8194 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009548, allocations: 0 / 0.8194 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.009617, allocations: 69.09 kB / 0.8195 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.009845, allocations: 30.5 kB / 0.8195 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.01048, allocations: 380.9 kB / 0.8198 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.01053, allocations: 77.09 kB / 0.8199 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.01057, allocations: 14.58 kB / 0.8199 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.01062, allocations: 25.22 kB / 0.82 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01062, allocations: 0 / 0.82 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of Templates: time 0.003511/0.01413, allocations: 1.766 MB / 0.8217 GB, free: 6.965 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.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.338130077812821]