Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001439/0.001439, 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.001458/0.001458, 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.665/1.665, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25/1.252, allocations: 173.6 MB / 1.305 GB, free: 33.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001986/1.254, allocations: 0.8363 MB / 1.306 GB, free: 33.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/1.254, allocations: 44.53 kB / 1.306 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/1.254, allocations: 2.969 kB / 1.306 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.06e-05/1.254, allocations: 11.25 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/1.254, allocations: 11.88 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.5e-05/1.254, allocations: 18.33 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/1.254, allocations: 63.33 kB / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/1.254, allocations: 27.62 kB / 1.306 GB, free: 32.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/1.254, allocations: 32.56 kB / 1.306 GB, free: 32.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/1.254, allocations: 25.34 kB / 1.306 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/1.254, allocations: 8.531 kB / 1.306 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/1.254, allocations: 5.5 kB / 1.306 GB, free: 32.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/1.255, allocations: 17.94 kB / 1.306 GB, free: 32.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/1.255, allocations: 40.23 kB / 1.307 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/1.255, allocations: 72.05 kB / 1.307 GB, free: 32.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.255, allocations: 3.938 kB / 1.307 GB, free: 32.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.049e-06/1.255, allocations: 0 / 1.307 GB, free: 32.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.255, allocations: 0 / 1.307 GB, free: 32.88 MB / 1.061 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.0004249/1.255, allocations: 385.7 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.255, allocations: 8.25 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/1.255, allocations: 14.31 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/1.255, allocations: 193.2 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.255, allocations: 6.906 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/1.255, allocations: 10.28 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/1.256, allocations: 98.34 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.256, allocations: 192 / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.256, allocations: 3.938 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.256, allocations: 2.531 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/1.256, allocations: 34.42 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/1.256, allocations: 447.1 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/1.256, allocations: 38.81 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/1.256, allocations: 19.59 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/1.256, allocations: 0 / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.256, allocations: 41.84 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.256, allocations: 0 / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/1.256, allocations: 55.59 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.256, allocations: 77.11 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.257, allocations: 166.7 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/1.257, allocations: 25.7 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/1.257, allocations: 105.1 kB / 1.308 GB, free: 31.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/1.257, allocations: 7.953 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/1.257, allocations: 22.77 kB / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/1.257, allocations: 318.1 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/1.257, allocations: 5.656 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/1.257, allocations: 23.97 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/1.257, allocations: 30.5 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.257, allocations: 3.938 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.847e-05/1.257, allocations: 58.56 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.257, allocations: 9.75 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.257, allocations: 6.719 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.257, allocations: 0 / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/1.257, allocations: 5.812 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.257, allocations: 3.984 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/1.257, allocations: 6.969 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/1.257, allocations: 4.062 kB / 1.309 GB, free: 30.78 MB / 1.061 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.756e-05/1.257, allocations: 112.8 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/1.257, allocations: 9.641 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/1.257, allocations: 18.11 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.257, allocations: 0 / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.257, allocations: 0 / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.257, allocations: 3 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/1.257, allocations: 479.3 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.257, allocations: 0 / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/1.257, allocations: 2.875 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.257, allocations: 0 / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.258, allocations: 0 / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.258, allocations: 2.906 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.258, allocations: 3.422 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/1.258, allocations: 85.27 kB / 1.309 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/1.258, allocations: 87.7 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.258, allocations: 3.031 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/1.258, allocations: 0 / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/1.258, allocations: 4 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.258, allocations: 2.906 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.416e-05/1.258, allocations: 119.5 kB / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.258, allocations: 0 / 1.31 GB, free: 29.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001837/1.258, allocations: 12.31 kB / 1.31 GB, free: 29.87 MB / 1.061 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.0001405/1.258, allocations: 98.98 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001103/1.258, allocations: 19.34 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.258, allocations: 0 / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/1.258, allocations: 6.906 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/1.258, allocations: 14.78 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/1.259, allocations: 179 kB / 1.31 GB, free: 29.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/1.259, allocations: 0.6904 MB / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.332e-05/1.259, allocations: 9.516 kB / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.259, allocations: 10 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/1.259, allocations: 0 / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of Templates: time 0.002965/1.262, allocations: 473.3 kB / 1.311 GB, free: 28.82 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.203411364927888]