Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.0009713/0.0009713, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001/0.001, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.451/2.451, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.745e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001654/0.001672, allocations: 0.8494 MB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.001829, allocations: 47.72 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.001887, allocations: 0 / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.001923, allocations: 11.86 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.002015, allocations: 7.875 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.002058, allocations: 19.98 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.002155, allocations: 71.77 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.002273, allocations: 35.95 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.002382, allocations: 43.83 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.002429, allocations: 15.92 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.002448, allocations: 4 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.002456, allocations: 4 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.002479, allocations: 19.92 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.002501, allocations: 11.98 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.503e-05/0.002586, allocations: 47.7 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002587, allocations: 0 / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002588, allocations: 7.938 kB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002591, allocations: 0 / 0.8398 GB, free: 12.92 MB / 0.8073 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.000261/0.002852, allocations: 276.6 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.002883, allocations: 12.62 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.002907, allocations: 12.92 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.003024, allocations: 129.7 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.003031, allocations: 8.375 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.003041, allocations: 8.375 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.003132, allocations: 87.77 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003138, allocations: 192 / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003146, allocations: 4.375 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.00315, allocations: 4.375 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.622e-05/0.003176, allocations: 19.94 kB / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.003523, allocations: 0.4973 MB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.00358, allocations: 173.1 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.003604, allocations: 84.12 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.003625, allocations: 79.28 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.003664, allocations: 109.8 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003665, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.128e-05/0.003716, allocations: 33.64 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.003757, allocations: 130.7 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.003846, allocations: 146.6 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.003854, allocations: 25.7 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.003905, allocations: 131.7 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-06/0.003907, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.003933, allocations: 21.67 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.004011, allocations: 330.8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-06/0.004017, allocations: 4 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.00405, allocations: 58.83 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.004107, allocations: 66.75 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00411, allocations: 4 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.257e-05/0.004203, allocations: 69.67 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004215, allocations: 8.062 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.004221, allocations: 4 kB / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.00423, allocations: 0 / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.004275, allocations: 19.98 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.00428, allocations: 11.94 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.004305, allocations: 7.938 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.00431, allocations: 4 kB / 0.8423 GB, free: 10.15 MB / 0.8073 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 6.937e-05/0.004379, allocations: 189.1 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.004418, allocations: 109 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.004456, allocations: 116.7 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/0.004499, allocations: 184.3 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.505e-05/0.004544, allocations: 180.2 kB / 0.843 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/0.004596, allocations: 180.2 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.004739, allocations: 337.4 kB / 0.8435 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.004762, allocations: 104.9 kB / 0.8436 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.004787, allocations: 101 kB / 0.8437 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-05/0.004829, allocations: 184.2 kB / 0.8439 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.004877, allocations: 176.3 kB / 0.8441 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.25e-05/0.004919, allocations: 184.2 kB / 0.8442 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.071e-05/0.00496, allocations: 180.5 kB / 0.8444 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.654e-05/0.005056, allocations: 319.7 kB / 0.8447 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.005094, allocations: 112.9 kB / 0.8448 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.005144, allocations: 184.2 kB / 0.845 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.005188, allocations: 101 kB / 0.8451 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.005231, allocations: 176.3 kB / 0.8453 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.005259, allocations: 116.9 kB / 0.8454 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.005282, allocations: 30.16 kB / 0.8454 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005282, allocations: 0 / 0.8454 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001344/0.005416, allocations: 11.95 kB / 0.8454 GB, free: 6.762 MB / 0.8073 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 7.983e-05/0.005496, allocations: 151.7 kB / 0.8456 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.2e-05/0.005558, allocations: 32.77 kB / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.005561, allocations: 0 / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.005562, allocations: 0 / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.005768, allocations: 469.8 kB / 0.846 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.005968, allocations: 224 kB / 0.8463 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.006001, allocations: 63.34 kB / 0.8463 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.006029, allocations: 9.219 kB / 0.8463 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.006058, allocations: 55.38 kB / 0.8464 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.006058, allocations: 0 / 0.8464 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of Templates: time 0.001644/0.007702, allocations: 347.9 kB / 0.8467 GB, free: 5.379 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.193058881908655]