Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001011/0.001011, allocations: 83.59 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.001023/0.001023, allocations: 165 kB / 23.82 MB, free: 0.7422 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.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.93/1.93, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.193e-05, allocations: 6.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.004916/0.004948, allocations: 0.8245 MB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.005072, allocations: 40.41 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.005121, allocations: 0.6875 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.005166, allocations: 15.86 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.005254, allocations: 13.41 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.856e-05/0.005302, allocations: 23.97 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.005402, allocations: 55.84 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005529, allocations: 27.97 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.005616, allocations: 40.88 kB / 0.8126 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.005658, allocations: 19.91 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.005678, allocations: 8.781 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-06/0.005687, allocations: 4 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.005708, allocations: 17.62 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.005741, allocations: 23.91 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.005837, allocations: 39.83 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005839, allocations: 0 / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005841, allocations: 0 / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005845, allocations: 1.531 kB / 0.8127 GB, free: 0.6016 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.0004062/0.006251, allocations: 408.3 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.006295, allocations: 12.03 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.00634, allocations: 20.83 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006539, allocations: 129.9 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006554, allocations: 12.36 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.00657, allocations: 4.375 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.006713, allocations: 97.86 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.006724, allocations: 192 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.006737, allocations: 4.375 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.006749, allocations: 4.375 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.006805, allocations: 39.78 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.01079, allocations: 459.9 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.01084, allocations: 54.12 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.01087, allocations: 20.03 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.01088, allocations: 5.438 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.01091, allocations: 41.39 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.01091, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/0.01108, allocations: 48.17 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.01114, allocations: 81.11 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.0113, allocations: 185.8 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.01131, allocations: 29.7 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.868e-05/0.01141, allocations: 158.7 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.01142, allocations: 7.891 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.01146, allocations: 23.91 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01161, allocations: 496.8 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.01162, allocations: 7.984 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.01165, allocations: 19.91 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.01169, allocations: 32.97 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0117, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.348e-05/0.01176, allocations: 54.14 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01177, allocations: 4 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01178, allocations: 4.531 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.0118, allocations: 0.7812 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.01186, allocations: 8 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.01187, allocations: 5.094 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.01188, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.01189, allocations: 4 kB / 0.815 GB, free: 13.93 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 0.0001276/0.01202, allocations: 157.1 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.01204, allocations: 5.125 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.01206, allocations: 7.469 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01206, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01207, allocations: 4.906 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01207, allocations: 3.938 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.01235, allocations: 0.5468 MB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01235, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.01236, allocations: 2.219 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01236, allocations: 7.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.01237, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01237, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01237, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.396e-05/0.01242, allocations: 90.8 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.01244, allocations: 8 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-06/0.01245, allocations: 3.938 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.01245, allocations: 0 / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.01246, allocations: 7.984 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.01247, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.01251, allocations: 142.7 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 1.469 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001125/0.01263, allocations: 15.89 kB / 0.816 GB, free: 12.85 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 6.807e-05/0.01269, allocations: 91.25 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.01276, allocations: 33.45 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01276, allocations: 0 / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-06/0.01277, allocations: 7.688 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.0001136/0.01288, allocations: 15.55 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.01315, allocations: 170.6 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.01319, allocations: 60 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.01322, allocations: 12.56 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.01324, allocations: 12.19 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.01324, allocations: 0 / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.001918/0.01515, allocations: 337.8 kB / 0.8167 GB, free: 12.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.383087466005236]