Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001274/0.001274, allocations: 80.92 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.001054/0.001054, allocations: 161 kB / 24.17 MB, free: 332 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.975/1.975, allocations: 377.9 MB / 0.624 GB, free: 8.344 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.386e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00184/0.001864, allocations: 0.8711 MB / 0.7609 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.001999, allocations: 47.72 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.002049, allocations: 0.6562 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.002086, allocations: 7.875 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.002172, allocations: 15.08 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.443e-05/0.002216, allocations: 15.98 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.002329, allocations: 65.14 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.002464, allocations: 33.66 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.002615, allocations: 52.62 kB / 0.7611 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.002669, allocations: 16.61 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.002692, allocations: 9.781 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.002701, allocations: 4 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.002727, allocations: 11.94 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.002756, allocations: 15.92 kB / 0.7612 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.002874, allocations: 39.83 kB / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.002877, allocations: 1.062 kB / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.002878, allocations: 0 / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.002884, allocations: 0 / 0.7612 GB, free: 5.41 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003855/0.00327, allocations: 286.6 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.003316, allocations: 8.031 kB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.003354, allocations: 12.94 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.003559, allocations: 141.5 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.003573, allocations: 4.375 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.003583, allocations: 9.125 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.003709, allocations: 79.88 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.003721, allocations: 0.9375 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.003733, allocations: 4.375 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.003742, allocations: 0.9062 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.003781, allocations: 23.92 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.0043, allocations: 0.4991 MB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.004381, allocations: 177.3 kB / 0.7624 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.004423, allocations: 80.14 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.004447, allocations: 79.28 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.004491, allocations: 107.2 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.004494, allocations: 3.938 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.007e-05/0.004574, allocations: 33.69 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.004635, allocations: 131.8 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.005113, allocations: 144.1 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.00512, allocations: 25.7 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.005184, allocations: 124.6 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.005186, allocations: 4 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.005217, allocations: 27.84 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.005299, allocations: 322.8 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.005311, allocations: 7.984 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.005345, allocations: 58.89 kB / 0.7635 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.005409, allocations: 65.48 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.005412, allocations: 0 / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.005518, allocations: 78.95 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.005533, allocations: 4.938 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.005541, allocations: 4 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.005554, allocations: 0.9375 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.005606, allocations: 16 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00561, allocations: 4 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.005642, allocations: 12.42 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005647, allocations: 7.312 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8e-05/0.005727, allocations: 197 kB / 0.7639 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.005766, allocations: 101 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.005807, allocations: 116.7 kB / 0.7641 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.00585, allocations: 176.3 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-05/0.005894, allocations: 184.3 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/0.005938, allocations: 188.2 kB / 0.7646 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.0061, allocations: 333.4 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/0.006128, allocations: 107.4 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.006158, allocations: 105 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.5e-05/0.006203, allocations: 180.3 kB / 0.7653 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.00625, allocations: 180.2 kB / 0.7655 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.685e-05/0.006297, allocations: 176.3 kB / 0.7657 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-05/0.006345, allocations: 188.2 kB / 0.7659 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.006462, allocations: 307.7 kB / 0.7662 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.006518, allocations: 117.8 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.006576, allocations: 184.2 kB / 0.7664 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.006622, allocations: 106.3 kB / 0.7665 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.006665, allocations: 176.3 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.006695, allocations: 117 kB / 0.7668 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.006722, allocations: 28.03 kB / 0.7668 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006722, allocations: 0 / 0.7668 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001297/0.006852, allocations: 11.95 kB / 0.7669 GB, free: 15.27 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 0.0001072/0.006959, allocations: 159.3 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.007023, allocations: 24.8 kB / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.007029, allocations: 4 kB / 0.767 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.00703, allocations: 0 / 0.767 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.007234, allocations: 467.6 kB / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.007465, allocations: 231.1 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.007498, allocations: 59.34 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.007532, allocations: 4.734 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.007565, allocations: 55.38 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/0.007566, allocations: 3.219 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.002019/0.009585, allocations: 328.3 kB / 0.7681 GB, free: 13.92 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.079693289939314]