Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001561/0.001561, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001907/0.001907, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.606/3.606, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [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.002103/0.002103, allocations: 66.05 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.458, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00234/0.4603, allocations: 0.7973 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001255/0.4604, allocations: 43.78 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.4605, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.4605, allocations: 7.875 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.4606, allocations: 11.88 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.151e-05/0.4607, allocations: 15.97 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.4609, allocations: 63.84 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4611, allocations: 35.97 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.4611, allocations: 23.86 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.4612, allocations: 23.8 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.4612, allocations: 8 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.4612, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.4613, allocations: 19.92 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.4613, allocations: 23.81 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.4615, allocations: 83.56 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4615, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4615, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.4615, allocations: 0 / 1.365 GB, free: 12.42 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.0004878/0.462, allocations: 302 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4621, allocations: 12.03 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.4621, allocations: 12.84 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.4623, allocations: 134.4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4623, allocations: 4.375 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4624, allocations: 12.36 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4625, allocations: 95.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4625, allocations: 4.125 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4626, allocations: 3.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4626, allocations: 8 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.4626, allocations: 35.98 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.4632, allocations: 360.4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.4632, allocations: 33.16 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.4633, allocations: 17.84 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4633, allocations: 4 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4633, allocations: 38.53 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.4633, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.4635, allocations: 61.61 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.4636, allocations: 81.11 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4637, allocations: 125.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4637, allocations: 29.7 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4638, allocations: 107.9 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.4639, allocations: 7.953 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.4639, allocations: 13.72 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002936/0.4642, allocations: 322.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.4642, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.4642, allocations: 21.72 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.4643, allocations: 29.81 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4643, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.941e-05/0.4644, allocations: 53.69 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.4644, allocations: 8 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4644, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.4645, allocations: 3.938 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.4645, allocations: 7.938 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4645, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.4646, allocations: 11.94 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.4646, allocations: 4.062 kB / 1.367 GB, free: 10.28 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 9.088e-05/0.4647, allocations: 117.8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.4647, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.4647, allocations: 11.41 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4647, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4648, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4648, allocations: 4.078 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.4653, allocations: 414.4 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4653, allocations: 3.938 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.4653, allocations: 8.062 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4653, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4654, allocations: 3.938 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4654, allocations: 3.984 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4654, allocations: 4 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.4655, allocations: 73.92 kB / 1.367 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.4656, allocations: 15.83 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4656, allocations: 7.984 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.4656, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.4656, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4656, allocations: 4.031 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.4657, allocations: 103.3 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4657, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001946/0.4659, allocations: 15.95 kB / 1.368 GB, free: 9.41 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.0002011/0.4661, allocations: 91.25 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.4662, allocations: 23.92 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4662, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.4662, allocations: 4 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.4663, allocations: 15.45 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.4667, allocations: 146.8 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.4668, allocations: 87.11 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.4668, allocations: 7.938 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4668, allocations: 11.44 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4668, allocations: 0 / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of Templates: time 0.002929/0.4698, allocations: 387.4 kB / 1.368 GB, free: 8.594 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.866605788469315]