Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002035/0.002035, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003231/0.003231, allocations: 218 kB / 22.26 MB, free: 5.078 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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 3.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002238/0.002238, allocations: 67.28 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4724, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002505/0.4749, allocations: 0.8424 MB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.4751, allocations: 39.78 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.4752, allocations: 4 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.4752, allocations: 11.88 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4753, allocations: 11.86 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.309e-05/0.4754, allocations: 19.98 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.4755, allocations: 59.84 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.4757, allocations: 31.98 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.4758, allocations: 23.86 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.4758, allocations: 39.72 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.4759, allocations: 4 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.4759, allocations: 8 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.4759, allocations: 15.92 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.476, allocations: 43.73 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4761, allocations: 71.59 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4761, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4761, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.4761, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 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.0005513/0.4767, allocations: 306 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4767, allocations: 8.031 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4768, allocations: 8.891 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.477, allocations: 138.3 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.477, allocations: 8.375 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.477, allocations: 8.375 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4772, allocations: 94.08 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4772, allocations: 192 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4773, allocations: 3.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4773, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.4774, allocations: 35.98 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.478, allocations: 407.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.4781, allocations: 33.16 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.4781, allocations: 21.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4781, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4782, allocations: 38.59 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4782, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.4784, allocations: 61.52 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.4784, allocations: 77.11 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.4786, allocations: 165.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4786, allocations: 25.7 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.4787, allocations: 112.2 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.4787, allocations: 7.953 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.4788, allocations: 13.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4789, allocations: 322.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.479, allocations: 8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.479, allocations: 13.72 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.479, allocations: 37.64 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.479, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.797e-05/0.4791, allocations: 49.66 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4792, allocations: 11.94 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4792, allocations: 3.938 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4792, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.4793, allocations: 15.92 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4793, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.4793, allocations: 4.047 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4793, allocations: 16.06 kB / 1.33 GB, free: 13.99 MB / 1.029 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.378e-05/0.4794, allocations: 109.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.4795, allocations: 11.94 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.4795, allocations: 11.75 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4795, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4795, allocations: 3.984 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4795, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.48, allocations: 453.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.48, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.48, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.48, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.48, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.48, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.48, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.4801, allocations: 89.83 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.4801, allocations: 11.95 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.4802, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.4802, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.4802, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4802, allocations: 7.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001055/0.4803, allocations: 117.5 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4803, allocations: 3.938 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001905/0.4805, allocations: 8.031 kB / 1.33 GB, free: 13.07 MB / 1.029 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.0001248/0.4806, allocations: 107.2 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.4807, allocations: 19.94 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4807, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.4807, allocations: 4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.4809, allocations: 17.39 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.4813, allocations: 163 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4816, allocations: 0.6885 MB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.4817, allocations: 8.422 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.4817, allocations: 11.44 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4817, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Templates: time 0.003173/0.4849, allocations: 484.4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.514854928012937]