Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001299/0.001299, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009903/0.0009903, allocations: 169 kB / 24.06 MB, free: 452 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 0.9961/0.9961, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.145/2.145, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.935e-05, allocations: 4.281 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002384/0.002413, allocations: 0.8242 MB / 0.8802 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.002564, allocations: 40.91 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.00263, allocations: 4 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.002672, allocations: 8.969 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.002777, allocations: 11.86 kB / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.625e-05/0.002843, allocations: 19.98 kB / 0.8803 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.002962, allocations: 64.78 kB / 0.8804 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.003105, allocations: 27.97 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003226, allocations: 42.34 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.003285, allocations: 15.91 kB / 0.8804 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003305, allocations: 4 kB / 0.8804 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.003316, allocations: 8 kB / 0.8804 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.003342, allocations: 15.92 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.003375, allocations: 15.94 kB / 0.8805 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003497, allocations: 45.86 kB / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.003501, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003502, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.003507, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 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.0004601/0.003967, allocations: 416.2 kB / 0.8809 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.004012, allocations: 8.031 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.004052, allocations: 17.61 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.004208, allocations: 136.4 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.00423, allocations: 10.03 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.004241, allocations: 8.312 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004364, allocations: 81.59 kB / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004374, allocations: 192 / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004385, allocations: 4.875 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004393, allocations: 5.562 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.004446, allocations: 27.84 kB / 0.8812 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.005019, allocations: 0.7185 MB / 0.8819 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.005127, allocations: 267 kB / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.005169, allocations: 126.9 kB / 0.8823 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.005212, allocations: 127.2 kB / 0.8824 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.005269, allocations: 152.6 kB / 0.8825 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.005271, allocations: 4.094 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.224e-05/0.005343, allocations: 37.59 kB / 0.8826 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.005427, allocations: 170.6 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.005573, allocations: 207.1 kB / 0.8829 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.005583, allocations: 25.7 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.005675, allocations: 170.5 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.005679, allocations: 4 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.005724, allocations: 35.31 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.005891, allocations: 0.4884 MB / 0.8837 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.005905, allocations: 3.984 kB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.005966, allocations: 81.42 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.006061, allocations: 85.42 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.006065, allocations: 4 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001563/0.006221, allocations: 77.5 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.00624, allocations: 6.344 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006246, allocations: 4 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.006259, allocations: 4 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.006328, allocations: 19.94 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.006334, allocations: 3.984 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.006377, allocations: 15.89 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.006384, allocations: 7.938 kB / 0.884 GB, free: 1.086 MB / 0.8386 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 0.0001212/0.006505, allocations: 284 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.006577, allocations: 156.8 kB / 0.8844 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.00664, allocations: 152.7 kB / 0.8845 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.832e-05/0.006718, allocations: 276 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.325e-05/0.006811, allocations: 264.1 kB / 0.885 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.888e-05/0.00689, allocations: 272 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.007155, allocations: 0.4926 MB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/0.007203, allocations: 144.9 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.007253, allocations: 148.8 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/0.007612, allocations: 272.1 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.007683, allocations: 268.1 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-05/0.007758, allocations: 268 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.533e-05/0.007833, allocations: 268.1 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.007994, allocations: 455.8 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.008059, allocations: 152.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.008147, allocations: 272 kB / 0.8879 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.008228, allocations: 144.9 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.008309, allocations: 272.3 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.008351, allocations: 152.9 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.008418, allocations: 145.2 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008418, allocations: 0 / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002854/0.008704, allocations: 12 kB / 0.8886 GB, free: 12.12 MB / 0.8542 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.0001454/0.008849, allocations: 210.4 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.966e-05/0.008939, allocations: 39.52 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.008942, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.008943, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.009365, allocations: 0.7062 MB / 0.8895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.009657, allocations: 270.2 kB / 0.8898 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.009697, allocations: 63.34 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.009739, allocations: 8.719 kB / 0.8899 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.00978, allocations: 74.2 kB / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.009781, allocations: 0 / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.002281/0.01206, allocations: 339.8 kB / 0.8903 GB, free: 10.36 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.490062010008842]