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.001053/0.001053, allocations: 81.97 kB / 21.47 MB, free: 3.035 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.001134/0.001134, allocations: 163.7 kB / 24.86 MB, free: 9.293 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.949/1.949, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.253e-06/1.253e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.323e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001482/0.001506, allocations: 0.8159 MB / 0.8136 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.00162, allocations: 39.78 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.00167, allocations: 0 / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.001704, allocations: 7.875 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.001785, allocations: 16.86 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-05/0.001823, allocations: 19.98 kB / 0.8137 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.001916, allocations: 60.41 kB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.002021, allocations: 31.97 kB / 0.8138 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.002113, allocations: 41.25 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.002161, allocations: 19.91 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.002175, allocations: 4 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-06/0.002182, allocations: 5.156 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.0022, allocations: 15.92 kB / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.002219, allocations: 15.94 kB / 0.8139 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.016e-05/0.00231, allocations: 44.45 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002312, allocations: 0 / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002313, allocations: 0.9062 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.002319, allocations: 0 / 0.8139 GB, free: 344 kB / 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.0003876/0.002706, allocations: 416.8 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.002741, allocations: 8.031 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.00277, allocations: 17.73 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.002892, allocations: 140.4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002902, allocations: 9.609 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.002912, allocations: 8.375 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/0.003002, allocations: 88.16 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.003009, allocations: 2.156 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.003022, allocations: 4.375 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.003027, allocations: 4.312 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.003055, allocations: 23.91 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.003709, allocations: 0.7223 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.003791, allocations: 270.6 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.003823, allocations: 130.9 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.00385, allocations: 120.7 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.00389, allocations: 156.6 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.003891, allocations: 0 / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.553e-05/0.003946, allocations: 37.66 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.004009, allocations: 175.6 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.004119, allocations: 200 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/0.004126, allocations: 25.7 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.004194, allocations: 179.2 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.004195, allocations: 3.938 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.004224, allocations: 28.05 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.00433, allocations: 0.4884 MB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.00434, allocations: 8.609 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.004378, allocations: 78.55 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.004445, allocations: 87.25 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.004447, allocations: 1.156 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001073/0.004554, allocations: 82.81 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004567, allocations: 9.688 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.004571, allocations: 0 / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.00458, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.004627, allocations: 12 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.004631, allocations: 4 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.004655, allocations: 13.83 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004659, allocations: 7.984 kB / 0.8173 GB, free: 12.54 MB / 0.7761 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.446e-05/0.004744, allocations: 283.6 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.00479, allocations: 148.9 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.004833, allocations: 165.4 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/0.004887, allocations: 268.1 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.004949, allocations: 267.5 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.379e-05/0.005013, allocations: 280 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.005178, allocations: 492.5 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/0.005209, allocations: 148.8 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.005244, allocations: 152.9 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/0.005311, allocations: 264.1 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.005372, allocations: 272 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.555e-05/0.005438, allocations: 268.1 kB / 0.8202 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/0.005508, allocations: 268 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.005628, allocations: 448.5 kB / 0.8209 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.005677, allocations: 164.8 kB / 0.821 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.005741, allocations: 264.6 kB / 0.8213 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.005798, allocations: 154.4 kB / 0.8214 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.005859, allocations: 264.4 kB / 0.8217 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/0.006164, allocations: 148.9 kB / 0.8218 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.006213, allocations: 140.5 kB / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006213, allocations: 3.938 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001624/0.006375, allocations: 16.86 kB / 0.822 GB, free: 7.59 MB / 0.7761 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 0.0001076/0.006483, allocations: 216.1 kB / 0.8222 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.006558, allocations: 36.2 kB / 0.8222 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006559, allocations: 0 / 0.8222 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.00656, allocations: 0.8125 kB / 0.8222 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.006859, allocations: 0.7062 MB / 0.8229 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.007089, allocations: 274.6 kB / 0.8232 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.007122, allocations: 59.34 kB / 0.8232 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.007158, allocations: 18.73 kB / 0.8233 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.007192, allocations: 74.2 kB / 0.8233 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.007192, allocations: 1.812 kB / 0.8233 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.002003/0.009195, allocations: 339.2 kB / 0.8237 GB, free: 5.832 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.274926092941314]