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.001084/0.001084, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.00097/0.00097, allocations: 169 kB / 23.02 MB, free: 1.543 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.9561/0.9561, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.103/2.103, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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 1.633e-06/1.633e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.574e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001477/0.001503, allocations: 0.8236 MB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.001617, allocations: 44.53 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.001659, allocations: 0 / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.001694, allocations: 12.62 kB / 0.879 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.001775, allocations: 11.86 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.98e-05/0.001815, allocations: 16.55 kB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.001905, allocations: 63.78 kB / 0.8791 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.002015, allocations: 33.09 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.002107, allocations: 43.89 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.002144, allocations: 21 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.002164, allocations: 4 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-06/0.002171, allocations: 4 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.002187, allocations: 12.59 kB / 0.8792 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.002215, allocations: 23.91 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.036e-05/0.002295, allocations: 40.56 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002297, allocations: 0 / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002298, allocations: 1.312 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002303, allocations: 7.984 kB / 0.8793 GB, free: 5.148 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.00034/0.002643, allocations: 400.3 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.002681, allocations: 13.06 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.002719, allocations: 16.83 kB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.002848, allocations: 144.4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.002858, allocations: 1.5 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.00287, allocations: 12.38 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.002997, allocations: 85.55 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.003005, allocations: 1.219 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.003014, allocations: 384 / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.003022, allocations: 8.359 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.003068, allocations: 36.92 kB / 0.88 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.003562, allocations: 0.7414 MB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.003661, allocations: 270.2 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.003701, allocations: 126.9 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.003731, allocations: 122.2 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.00378, allocations: 156.6 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.003781, allocations: 0 / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.231e-05/0.003844, allocations: 37.69 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.003907, allocations: 174.5 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.00403, allocations: 208 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.004039, allocations: 25.7 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.004114, allocations: 168.1 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/0.004118, allocations: 4 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.004152, allocations: 31.36 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.00427, allocations: 496.1 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.004282, allocations: 8.625 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.00432, allocations: 77.48 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.004381, allocations: 92.66 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004383, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.004501, allocations: 92.56 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004512, allocations: 6.031 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004518, allocations: 4 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.004529, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.004579, allocations: 15.94 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.004588, allocations: 16.17 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.00461, allocations: 15.83 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004616, allocations: 4 kB / 0.8828 GB, free: 1.312 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 8.881e-05/0.004705, allocations: 279.8 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.00475, allocations: 156.8 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.004789, allocations: 148.7 kB / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.857e-05/0.004847, allocations: 276.1 kB / 0.8836 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-05/0.00491, allocations: 272 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-05/0.00499, allocations: 268.1 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.005175, allocations: 0.5076 MB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/0.005212, allocations: 152.9 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.005249, allocations: 144.9 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.508e-05/0.005314, allocations: 268 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.00538, allocations: 276.1 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.005451, allocations: 268 kB / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.488e-05/0.005516, allocations: 264.1 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.005646, allocations: 451.9 kB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.005699, allocations: 160.8 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.005774, allocations: 268 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.005835, allocations: 148.9 kB / 0.8869 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.005904, allocations: 268.3 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.005938, allocations: 152.8 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.006, allocations: 153.4 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006, allocations: 0 / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001509/0.006151, allocations: 11.94 kB / 0.8875 GB, free: 12.32 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 8.505e-05/0.006236, allocations: 210.4 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.00631, allocations: 35.64 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006311, allocations: 0.5 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.006313, allocations: 3.938 kB / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.006596, allocations: 0.7101 MB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.006822, allocations: 265.7 kB / 0.8886 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.006853, allocations: 63.28 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.00688, allocations: 8.719 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.006896, allocations: 12.5 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.006897, allocations: 4 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.001649/0.008546, allocations: 327.8 kB / 0.889 GB, free: 10.62 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.282449877355248]