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.0009317/0.0009317, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001006/0.001006, allocations: 173 kB / 23.36 MB, free: 0.9727 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.2 MB / 203.8 MB, free: 5.469 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.378/2.378, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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_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.343e-06/1.343e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.465e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001488/0.001512, allocations: 0.8204 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.001636, allocations: 47.78 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.00168, allocations: 0 / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.001714, allocations: 11.86 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.001795, allocations: 15.81 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.03e-05/0.001835, allocations: 15.98 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.001922, allocations: 63.83 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.002019, allocations: 35.95 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.002118, allocations: 47.78 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.00216, allocations: 15.92 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.002182, allocations: 7.984 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.002189, allocations: 4 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.002209, allocations: 15.92 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.00223, allocations: 15.94 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.123e-05/0.002311, allocations: 35.83 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002314, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002314, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002318, allocations: 0 / 0.8397 GB, free: 13.03 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.0002872/0.002605, allocations: 292.5 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.00264, allocations: 12.62 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.002668, allocations: 12.92 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.002782, allocations: 133.6 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.002791, allocations: 4.375 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.002802, allocations: 8.375 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.746e-05/0.00289, allocations: 83.83 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.002897, allocations: 192 / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.002904, allocations: 384 / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.00291, allocations: 4.375 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.002938, allocations: 27.81 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.003278, allocations: 0.501 MB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.003344, allocations: 177.3 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.003369, allocations: 80.14 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.003386, allocations: 75.28 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.003421, allocations: 105.8 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.003422, allocations: 0 / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.671e-05/0.003468, allocations: 29.7 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.003513, allocations: 126.7 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.003594, allocations: 152.5 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.003601, allocations: 25.7 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.00365, allocations: 127.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.003652, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.003677, allocations: 33.59 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.003748, allocations: 326.8 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.003755, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.003785, allocations: 58.84 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.003843, allocations: 70.73 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.003845, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.531e-05/0.003931, allocations: 73.48 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.003942, allocations: 8.25 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.003946, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.003958, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.004002, allocations: 15.98 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.004007, allocations: 4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.004032, allocations: 7.938 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.004037, allocations: 4 kB / 0.8422 GB, free: 10.25 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 7.047e-05/0.004107, allocations: 197 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.004144, allocations: 109 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.00418, allocations: 104.8 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.004218, allocations: 188.2 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/0.004257, allocations: 180.3 kB / 0.8429 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.969e-05/0.004297, allocations: 184.2 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.004426, allocations: 333.4 kB / 0.8434 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.004452, allocations: 104.9 kB / 0.8435 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.004474, allocations: 104.9 kB / 0.8436 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.944e-05/0.004514, allocations: 180.3 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.004556, allocations: 180.2 kB / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.553e-05/0.004601, allocations: 192.2 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-05/0.004641, allocations: 180.4 kB / 0.8443 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.734e-05/0.004738, allocations: 319.8 kB / 0.8446 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.004777, allocations: 112.9 kB / 0.8447 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.004823, allocations: 180.3 kB / 0.8449 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.00516, allocations: 104.9 kB / 0.845 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.005202, allocations: 184.3 kB / 0.8452 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.005224, allocations: 105 kB / 0.8453 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.005249, allocations: 26.38 kB / 0.8453 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005249, allocations: 0 / 0.8453 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001292/0.005379, allocations: 15.89 kB / 0.8453 GB, free: 6.859 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 9.944e-05/0.005478, allocations: 151.7 kB / 0.8455 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.562e-05/0.005534, allocations: 32.78 kB / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.005537, allocations: 0 / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.005538, allocations: 0 / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.005718, allocations: 463.6 kB / 0.846 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.005934, allocations: 220 kB / 0.8462 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.00597, allocations: 59.34 kB / 0.8462 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.006005, allocations: 13.22 kB / 0.8462 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.006037, allocations: 59.31 kB / 0.8463 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.006037, allocations: 0 / 0.8463 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.001735/0.007773, allocations: 340 kB / 0.8466 GB, free: 5.488 MB / 0.8073 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.182024069130421]