Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001546/0.001546, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001715/0.001715, allocations: 161 kB / 24.16 MB, free: 336 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.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 1.094 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.243e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001615/0.001637, allocations: 0.9202 MB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.001782, allocations: 60.2 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.001827, allocations: 0.5312 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.00186, allocations: 13.16 kB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.001934, allocations: 19.03 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.976e-05/0.001984, allocations: 23.97 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.002081, allocations: 79.98 kB / 0.7612 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.002186, allocations: 38.58 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.002273, allocations: 56.59 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.002319, allocations: 21.03 kB / 0.7613 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.002336, allocations: 8 kB / 0.7613 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.002343, allocations: 4.969 kB / 0.7613 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.002365, allocations: 19.92 kB / 0.7613 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.00239, allocations: 23.86 kB / 0.7613 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.002487, allocations: 60.94 kB / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002489, allocations: 0 / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00249, allocations: 0 / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002495, allocations: 1.25 kB / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002697/0.002764, allocations: 288.7 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.002794, allocations: 12.03 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.00282, allocations: 17.67 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.002943, allocations: 149.5 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.002953, allocations: 9.094 kB / 0.7618 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.002961, allocations: 4.375 kB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.111e-05/0.003052, allocations: 93.27 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.003059, allocations: 4 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003067, allocations: 5.031 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003072, allocations: 0 / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.003102, allocations: 23.92 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.003479, allocations: 0.5139 MB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.00354, allocations: 173.1 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.003562, allocations: 80.8 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.003581, allocations: 79.28 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.003613, allocations: 110.5 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.003613, allocations: 0 / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.027e-05/0.003664, allocations: 30.45 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.003704, allocations: 130.7 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.003791, allocations: 155.5 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.003798, allocations: 25.7 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.003851, allocations: 127.8 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.003854, allocations: 4.203 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.00388, allocations: 21.67 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.003953, allocations: 328.1 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003961, allocations: 7.984 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.003989, allocations: 49.94 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.004036, allocations: 62.75 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004038, allocations: 0 / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.223e-05/0.00412, allocations: 65.44 kB / 0.7638 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.004137, allocations: 8 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.004145, allocations: 11 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004155, allocations: 4 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.004198, allocations: 8 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.004202, allocations: 4 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.004222, allocations: 11.94 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.004227, allocations: 4 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.614e-05/0.004293, allocations: 185.1 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.004332, allocations: 112.9 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.00437, allocations: 118.2 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/0.004408, allocations: 176.3 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/0.004447, allocations: 188.2 kB / 0.7646 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/0.004487, allocations: 184.2 kB / 0.7648 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.004619, allocations: 330.8 kB / 0.7651 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/0.004643, allocations: 104.9 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.004666, allocations: 105 kB / 0.7653 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-05/0.004711, allocations: 189.5 kB / 0.7655 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.004752, allocations: 180.2 kB / 0.7657 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.772e-05/0.00479, allocations: 180.3 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.183e-05/0.004832, allocations: 180.2 kB / 0.766 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.004947, allocations: 312.4 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.004991, allocations: 113.5 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.005043, allocations: 188.5 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.005096, allocations: 109.6 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.005137, allocations: 180.3 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.005162, allocations: 106 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.581e-05/0.005187, allocations: 31.27 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005187, allocations: 0 / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001317/0.005319, allocations: 22.36 kB / 0.767 GB, free: 15.11 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.223e-05/0.005411, allocations: 155.7 kB / 0.7672 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.737e-05/0.005469, allocations: 31.86 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.005472, allocations: 0 / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.005473, allocations: 0 / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.005663, allocations: 463.5 kB / 0.7677 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.005897, allocations: 252.2 kB / 0.7679 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.00593, allocations: 59.34 kB / 0.768 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.005964, allocations: 9.906 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.005995, allocations: 56 kB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.005996, allocations: 0.5938 kB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.001991/0.007986, allocations: 336.1 kB / 0.7683 GB, free: 13.72 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.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.067144346889108]