Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.88 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304/1.306, allocations: 168.7 MB / 1.272 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002534/1.308, allocations: 0.8309 MB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/1.309, allocations: 41.69 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/1.309, allocations: 1.094 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/1.309, allocations: 9.188 kB / 1.273 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/1.309, allocations: 18.94 kB / 1.273 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.034e-05/1.309, allocations: 15.7 kB / 1.273 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/1.309, allocations: 58.91 kB / 1.273 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/1.309, allocations: 40.61 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/1.309, allocations: 29.3 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/1.309, allocations: 27.27 kB / 1.273 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/1.309, allocations: 5.938 kB / 1.273 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/1.309, allocations: 6.062 kB / 1.273 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/1.309, allocations: 11.25 kB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/1.309, allocations: 36.69 kB / 1.273 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/1.31, allocations: 85.53 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.31, allocations: 0.9062 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/1.31, allocations: 3.938 kB / 1.273 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.792e-06/1.31, allocations: 0.5156 kB / 1.273 GB, free: 7.125 MB / 0.9981 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.0004349/1.31, allocations: 376.3 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.31, allocations: 10.16 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/1.31, allocations: 12.78 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/1.31, allocations: 193.2 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/1.31, allocations: 7.281 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/1.31, allocations: 9.562 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/1.31, allocations: 96.33 kB / 1.274 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.31, allocations: 0.9844 kB / 1.274 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.31, allocations: 4.969 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.31, allocations: 2.344 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/1.311, allocations: 40.3 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/1.311, allocations: 442.4 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/1.311, allocations: 37.38 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/1.311, allocations: 24.52 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/1.311, allocations: 0.9688 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.311, allocations: 35.66 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.311, allocations: 0.9375 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/1.311, allocations: 56.64 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.311, allocations: 78.08 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.311, allocations: 159 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/1.311, allocations: 25.7 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/1.312, allocations: 108.1 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/1.312, allocations: 13.05 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/1.312, allocations: 15.48 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.312, allocations: 320.3 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/1.312, allocations: 7 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/1.312, allocations: 16.59 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/1.312, allocations: 34.12 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.312, allocations: 1 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.35e-05/1.312, allocations: 61.02 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.312, allocations: 9.297 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.312, allocations: 4.906 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.312, allocations: 2.156 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/1.312, allocations: 5.406 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/1.312, allocations: 2.891 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/1.312, allocations: 10 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.312, allocations: 5 kB / 1.275 GB, free: 5.039 MB / 0.9981 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 5.975e-05/1.312, allocations: 114.8 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.312, allocations: 15.12 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.312, allocations: 14.53 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.312, allocations: 0 / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.312, allocations: 1.031 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.312, allocations: 1.094 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/1.312, allocations: 473.6 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.312, allocations: 0.9062 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/1.312, allocations: 5.094 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.312, allocations: 0.875 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/1.312, allocations: 1.125 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/1.312, allocations: 0 / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.312, allocations: 1.5 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.186e-05/1.312, allocations: 84.75 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/1.313, allocations: 90.56 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.313, allocations: 1.875 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/1.313, allocations: 0 / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/1.313, allocations: 2.016 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/1.313, allocations: 1.906 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.217e-05/1.313, allocations: 120.3 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.313, allocations: 0 / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001868/1.313, allocations: 11.41 kB / 1.276 GB, free: 4.129 MB / 0.9981 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 0.0001206/1.313, allocations: 101.3 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001129/1.313, allocations: 19 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.313, allocations: 0 / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/1.313, allocations: 5.484 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/1.313, allocations: 11.12 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/1.314, allocations: 177.5 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/1.314, allocations: 0.6922 MB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.435e-05/1.314, allocations: 10.94 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.314, allocations: 15.17 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.314, allocations: 0 / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of Templates: time 0.003244/1.317, allocations: 479.2 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.747949128039181]