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.001438/0.001438, allocations: 80.81 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.00174/0.00174, allocations: 173 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.014/1.014, 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.379/2.379, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.795e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.006644/0.006662, allocations: 0.8217 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.006815, allocations: 47.72 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.006867, allocations: 0 / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.006907, allocations: 11.86 kB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.007007, allocations: 19.81 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.575e-05/0.007053, allocations: 15.98 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.007164, allocations: 59.84 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.007285, allocations: 39.94 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007399, allocations: 43.84 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.007442, allocations: 11.92 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.007464, allocations: 4 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.007472, allocations: 4 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.007497, allocations: 19.92 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.007525, allocations: 19.92 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.007625, allocations: 39.77 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007627, allocations: 4 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007628, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.007632, allocations: 0 / 0.8397 GB, free: 13.05 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.0003445/0.007977, allocations: 284.5 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.008018, allocations: 12.62 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.008057, allocations: 16.92 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.008203, allocations: 125.7 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.008218, allocations: 8.375 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.008233, allocations: 4.375 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.008344, allocations: 83.78 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.008352, allocations: 4.188 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.008362, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.00837, allocations: 4.375 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.008405, allocations: 23.86 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.008816, allocations: 0.5011 MB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.00889, allocations: 169.1 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.008919, allocations: 80.14 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.008943, allocations: 79.27 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.008988, allocations: 109.8 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.008989, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.002938/0.01193, allocations: 41.62 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.01198, allocations: 126.7 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.01208, allocations: 148.6 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.01209, allocations: 25.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.01215, allocations: 127.8 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.01215, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.01218, allocations: 29.66 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.01226, allocations: 326.8 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.01227, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.0123, allocations: 50.86 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.01236, allocations: 78.72 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01236, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.437e-05/0.01244, allocations: 77.55 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01246, allocations: 8 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01246, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01247, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.01252, allocations: 15.98 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.01253, allocations: 3.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.01255, allocations: 7.938 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01255, allocations: 8 kB / 0.8422 GB, free: 10.27 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.092e-05/0.01262, allocations: 193.1 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.01266, allocations: 109.1 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.01269, allocations: 112.8 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/0.01274, allocations: 180.3 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-05/0.01278, allocations: 180.2 kB / 0.8429 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/0.01283, allocations: 176.3 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.01299, allocations: 345.3 kB / 0.8434 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.01302, allocations: 101 kB / 0.8435 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.01304, allocations: 104.9 kB / 0.8436 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.712e-05/0.01309, allocations: 184.2 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.01314, allocations: 176.3 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.808e-05/0.01319, allocations: 180.2 kB / 0.8441 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-05/0.01324, allocations: 192.5 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.01334, allocations: 315.7 kB / 0.8446 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.01338, allocations: 112.9 kB / 0.8447 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.01344, allocations: 184.2 kB / 0.8449 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.01349, allocations: 101 kB / 0.845 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.01354, allocations: 180.3 kB / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.01356, allocations: 104.9 kB / 0.8453 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.01359, allocations: 32.81 kB / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01359, allocations: 0 / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001298/0.01372, allocations: 11.95 kB / 0.8453 GB, free: 6.887 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.291e-05/0.01381, allocations: 155.7 kB / 0.8455 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.709e-05/0.01387, allocations: 24.78 kB / 0.8455 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01388, allocations: 0 / 0.8455 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-06/0.01388, allocations: 4 kB / 0.8455 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.01407, allocations: 467.3 kB / 0.8459 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.01428, allocations: 228 kB / 0.8462 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.01431, allocations: 59.84 kB / 0.8462 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.01434, allocations: 4.734 kB / 0.8462 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.01437, allocations: 59.36 kB / 0.8463 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.01438, allocations: 0 / 0.8463 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of Templates: time 0.001677/0.01605, allocations: 351.2 kB / 0.8466 GB, free: 5.508 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 -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.239379615988582]