Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001016/0.001016, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001302/0.001302, allocations: 169 kB / 24.28 MB, free: 280 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.943/1.943, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.902e-05, allocations: 3.562 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001795/0.001824, allocations: 0.8128 MB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.001964, allocations: 44.78 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.002017, allocations: 0 / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.002055, allocations: 7.875 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.002151, allocations: 12.64 kB / 0.8124 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.672e-05/0.002198, allocations: 27.91 kB / 0.8124 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.002297, allocations: 61.53 kB / 0.8125 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.002434, allocations: 23.98 kB / 0.8125 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.002516, allocations: 43.83 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.002581, allocations: 23.91 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.002603, allocations: 5.531 kB / 0.8126 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002612, allocations: 8 kB / 0.8126 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.002632, allocations: 11.92 kB / 0.8126 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.002665, allocations: 19.92 kB / 0.8126 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.00277, allocations: 40.7 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002773, allocations: 0 / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.542e-06/0.002774, allocations: 4 kB / 0.8127 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.00278, allocations: 1.594 kB / 0.8127 GB, free: 0.9258 MB / 0.7605 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.0004225/0.003202, allocations: 408.3 kB / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.003243, allocations: 8.031 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.003291, allocations: 17.59 kB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.003462, allocations: 140.4 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003472, allocations: 4.906 kB / 0.8132 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.003486, allocations: 12.38 kB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.003612, allocations: 93.92 kB / 0.8133 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003619, allocations: 192 / 0.8133 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.003633, allocations: 8.359 kB / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.00364, allocations: 4.312 kB / 0.8133 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.00369, allocations: 28.42 kB / 0.8133 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.004155, allocations: 459 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.004213, allocations: 54.91 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.004252, allocations: 28.64 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004263, allocations: 4 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.004289, allocations: 37.42 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.00429, allocations: 1.375 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.004443, allocations: 49.59 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.004481, allocations: 78.86 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.004587, allocations: 189.8 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.004599, allocations: 25.7 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.004662, allocations: 154.7 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.004672, allocations: 7.891 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.004705, allocations: 28.02 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.004821, allocations: 0.4911 MB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.004834, allocations: 0 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.004854, allocations: 23.36 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.004892, allocations: 31.31 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004895, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.021e-05/0.004965, allocations: 51.16 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.004983, allocations: 7.984 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004988, allocations: 0 / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.005001, allocations: 4 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.005061, allocations: 8.438 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.005068, allocations: 4.438 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.005085, allocations: 4 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005089, allocations: 0.5625 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.973e-05/0.005159, allocations: 158 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.00518, allocations: 4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.005202, allocations: 11.45 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005203, allocations: 2.594 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.005207, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.005211, allocations: 3.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.005516, allocations: 0.546 MB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.005519, allocations: 3.984 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.005534, allocations: 7.938 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.005536, allocations: 0.5312 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.005545, allocations: 3.938 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005547, allocations: 0.5938 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.005548, allocations: 1.125 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.518e-05/0.005613, allocations: 88.03 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.005635, allocations: 12.98 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.005647, allocations: 3.938 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.005657, allocations: 4 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.005671, allocations: 0.8438 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.005673, allocations: 0 / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.005723, allocations: 141.4 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005723, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001359/0.005859, allocations: 15.89 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.508e-05/0.005944, allocations: 100.6 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.331e-05/0.006017, allocations: 24.66 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006019, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-06/0.006028, allocations: 12.81 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.006156, allocations: 8 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.006459, allocations: 171.7 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.006497, allocations: 63.34 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.006525, allocations: 1.062 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.00655, allocations: 12.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.006551, allocations: 0.7188 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002149/0.0087, allocations: 345.7 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.234563720179722]