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.001614/0.001614, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002309/0.002309, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 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.606/1.606, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 59.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.031, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002028/1.033, allocations: 0.7885 MB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/1.033, allocations: 40.02 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/1.033, allocations: 4 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/1.033, allocations: 7.875 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/1.033, allocations: 14.77 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.735e-05/1.033, allocations: 21.28 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/1.033, allocations: 56.41 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/1.033, allocations: 37.25 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/1.033, allocations: 31.69 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/1.033, allocations: 23.98 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/1.033, allocations: 5.438 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/1.033, allocations: 5.719 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/1.033, allocations: 18.72 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/1.033, allocations: 31.06 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/1.033, allocations: 75.59 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.033, allocations: 0 / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/1.033, allocations: 0 / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.033, allocations: 2.594 kB / 1.155 GB, free: 32.62 MB / 1.076 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.000408/1.034, allocations: 302.4 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.034, allocations: 10.28 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/1.034, allocations: 14.05 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.034, allocations: 136 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/1.034, allocations: 6.906 kB / 1.155 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.034, allocations: 9.562 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/1.034, allocations: 102.6 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.034, allocations: 192 / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.034, allocations: 3.938 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.034, allocations: 2.469 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/1.034, allocations: 40.31 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/1.035, allocations: 353.8 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/1.035, allocations: 36.22 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/1.035, allocations: 30.97 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/1.035, allocations: 0 / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/1.035, allocations: 33.53 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.035, allocations: 0 / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/1.035, allocations: 57.5 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/1.035, allocations: 80.53 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.035, allocations: 132.8 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.035, allocations: 25.7 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/1.035, allocations: 109.3 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/1.035, allocations: 11.89 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.035, allocations: 19.75 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/1.035, allocations: 318.3 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/1.035, allocations: 3.188 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/1.035, allocations: 24.09 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/1.036, allocations: 30.03 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.036, allocations: 0 / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.153e-05/1.036, allocations: 63.09 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.036, allocations: 10.09 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.036, allocations: 0 / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.036, allocations: 7.266 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/1.036, allocations: 6.188 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.036, allocations: 0 / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/1.036, allocations: 2.938 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/1.036, allocations: 0 / 1.157 GB, free: 30.79 MB / 1.076 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.708e-05/1.036, allocations: 113.4 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/1.036, allocations: 6.547 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/1.036, allocations: 13.58 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.036, allocations: 4 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.036, allocations: 2.562 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.036, allocations: 0 / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/1.036, allocations: 408.4 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.036, allocations: 3.938 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/1.036, allocations: 6.938 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.036, allocations: 0 / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/1.036, allocations: 5.922 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.036, allocations: 0 / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.036, allocations: 0 / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.38e-05/1.036, allocations: 80.17 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/1.036, allocations: 14.05 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/1.036, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/1.036, allocations: 3.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/1.036, allocations: 6.875 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/1.036, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.34e-05/1.036, allocations: 99.98 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.036, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001918/1.036, allocations: 12.28 kB / 1.158 GB, free: 30.05 MB / 1.076 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 8.397e-05/1.037, allocations: 100.6 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/1.037, allocations: 18.97 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.037, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/1.037, allocations: 3.031 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/1.037, allocations: 10.03 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/1.037, allocations: 157.1 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/1.037, allocations: 87.58 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.889e-05/1.037, allocations: 9.438 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/1.037, allocations: 11.53 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.037, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of Templates: time 0.002675/1.04, allocations: 315.3 kB / 1.158 GB, free: 29.63 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.242516787024215]