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.001068/0.001068, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009491/0.0009491, allocations: 167.4 kB / 24.86 MB, free: 9.285 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.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.5 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 2.004/2.004, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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 2.204e-06/2.204e-06, allocations: 0 / 0.8128 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.877e-05, allocations: 3.219 kB / 0.8129 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001526/0.001545, allocations: 1.03 MB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002646, allocations: 1.062 MB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.00274, allocations: 4 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.002867, allocations: 19.73 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.002919, allocations: 13.56 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.003176, allocations: 79.78 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003329, allocations: 176.1 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003457, allocations: 53.05 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.003597, allocations: 109 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.003687, allocations: 59.78 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.003715, allocations: 16 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.003783, allocations: 21.97 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.003838, allocations: 39.83 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.003902, allocations: 55.83 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004107, allocations: 127.5 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004109, allocations: 0 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00411, allocations: 1.375 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.004116, allocations: 0 / 0.8156 GB, free: 14.5 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.0005783/0.004694, allocations: 0.5088 MB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.004732, allocations: 8.031 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.004836, allocations: 48.73 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005004, allocations: 158.2 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.005025, allocations: 12.38 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.005054, allocations: 24.33 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.005279, allocations: 142.6 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005288, allocations: 2.125 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.005307, allocations: 12.12 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.005316, allocations: 7.984 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.005377, allocations: 48.3 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.005916, allocations: 449.9 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.00611, allocations: 97.77 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.006164, allocations: 52 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.006185, allocations: 7.938 kB / 0.8172 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.0063, allocations: 117.3 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.006302, allocations: 0.7188 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002282/0.00653, allocations: 142.8 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.006562, allocations: 55.94 kB / 0.8175 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006669, allocations: 197.1 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.006692, allocations: 37.64 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.006774, allocations: 171.1 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.006823, allocations: 63.41 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.006876, allocations: 51.88 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.007001, allocations: 0.4962 MB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.007065, allocations: 29.28 kB / 0.8185 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.007119, allocations: 49.77 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.007207, allocations: 82.88 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007209, allocations: 4 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001495/0.007358, allocations: 136.6 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.007382, allocations: 8 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007387, allocations: 0.75 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.007395, allocations: 0 / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.007495, allocations: 41 kB / 0.8188 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007499, allocations: 4 kB / 0.8188 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.00755, allocations: 15.89 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.00756, allocations: 8.828 kB / 0.8188 GB, free: 11.05 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.842e-05/0.007648, allocations: 166 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.00767, allocations: 23.83 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.007828, allocations: 126.7 kB / 0.8191 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00783, allocations: 5 kB / 0.8191 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007832, allocations: 0 / 0.8191 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.007837, allocations: 7.984 kB / 0.8191 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.00825, allocations: 0.4899 MB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008251, allocations: 2.344 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.008344, allocations: 35.92 kB / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008346, allocations: 0 / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.008358, allocations: 8 kB / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.008363, allocations: 7.984 kB / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.008365, allocations: 4 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.008597, allocations: 357.4 kB / 0.82 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.008612, allocations: 19.84 kB / 0.82 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.008628, allocations: 8 kB / 0.82 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.008691, allocations: 11.98 kB / 0.82 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.008734, allocations: 20.44 kB / 0.82 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.008744, allocations: 9.344 kB / 0.8201 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.008804, allocations: 149 kB / 0.8202 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008804, allocations: 0 / 0.8202 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001735/0.008977, allocations: 32 kB / 0.8202 GB, free: 9.48 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.651e-05/0.009064, allocations: 104.5 kB / 0.8203 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.009204, allocations: 100.1 kB / 0.8204 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009207, allocations: 7.312 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.009266, allocations: 49.84 kB / 0.8205 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.009496, allocations: 31.91 kB / 0.8205 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.01001, allocations: 390.8 kB / 0.8209 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.01006, allocations: 76.06 kB / 0.821 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.01011, allocations: 22.39 kB / 0.821 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.0102, allocations: 99.31 kB / 0.8211 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.0102, allocations: 0 / 0.8211 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.003735/0.01393, allocations: 1.96 MB / 0.823 GB, free: 6.625 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.295924175996333]