Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009938/0.0009938, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009659/0.0009659, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9566/0.9566, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.989/1.989, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.241e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002179/0.002212, allocations: 0.8176 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.002362, allocations: 39.78 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.002419, allocations: 5.344 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.002463, allocations: 7.922 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.002562, allocations: 15.81 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.124e-05/0.002613, allocations: 17.58 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.002726, allocations: 67.81 kB / 0.8125 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.002858, allocations: 23.98 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.00296, allocations: 43.83 kB / 0.8126 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.003003, allocations: 20.64 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.003024, allocations: 4 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.003034, allocations: 8.531 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.003055, allocations: 13.23 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.003089, allocations: 23.92 kB / 0.8126 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003201, allocations: 43.81 kB / 0.8127 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003204, allocations: 7.938 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003205, allocations: 0.5312 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003209, allocations: 1.375 kB / 0.8127 GB, free: 0.5977 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.0004573/0.003667, allocations: 404.3 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.003715, allocations: 8.031 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.003768, allocations: 14.05 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.003977, allocations: 136.5 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.00399, allocations: 4.375 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.004006, allocations: 9.562 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.004151, allocations: 93.44 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.004161, allocations: 4.125 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.004174, allocations: 5.5 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.004182, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.004246, allocations: 35.8 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.004753, allocations: 455.2 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.004814, allocations: 58.12 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.00485, allocations: 25.16 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.004858, allocations: 4 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.004886, allocations: 33.39 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.004888, allocations: 2.719 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.005065, allocations: 53.58 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.005106, allocations: 77.11 kB / 0.814 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.005234, allocations: 192.6 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.005245, allocations: 25.7 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.005323, allocations: 159.2 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.005331, allocations: 7.891 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.005367, allocations: 19.91 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.005506, allocations: 0.4942 MB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.005522, allocations: 0 / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.005547, allocations: 19.38 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.005596, allocations: 35.31 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.005599, allocations: 5.703 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.256e-05/0.005681, allocations: 53.59 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.005697, allocations: 6.812 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.005705, allocations: 4.875 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.005722, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.005783, allocations: 4.531 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.005791, allocations: 7.922 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.005815, allocations: 4.844 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.005819, allocations: 0 / 0.815 GB, free: 13.94 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 7.527e-05/0.005895, allocations: 161.4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.005932, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.005961, allocations: 12.75 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.005963, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005967, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00597, allocations: 4.781 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.00635, allocations: 0.5499 MB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006352, allocations: 1.219 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.006371, allocations: 4 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.006374, allocations: 96 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.006383, allocations: 9.234 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.006386, allocations: 3.984 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006387, allocations: 3.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.006463, allocations: 85.03 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.006483, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006497, allocations: 9.047 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.006512, allocations: 4 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.006526, allocations: 0 / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.006528, allocations: 1.031 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.006589, allocations: 139.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.006589, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002132/0.006803, allocations: 21.02 kB / 0.816 GB, free: 12.86 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 9.352e-05/0.006896, allocations: 96.31 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.006981, allocations: 23.61 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006983, allocations: 0.5 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.006997, allocations: 17 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.007163, allocations: 7.938 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.007478, allocations: 167.5 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.00752, allocations: 63.34 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.00755, allocations: 1.344 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.007577, allocations: 12.5 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.007577, allocations: 0 / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002455/0.01003, allocations: 353.6 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.362638497725129]