Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001845/0.001845, allocations: 113 kB / 16.46 MB, free: 6.453 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.002306/0.002306, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.525/3.525, allocations: 0.4899 GB / 0.7916 GB, free: 33.39 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002841/0.002841, allocations: 69.48 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4004, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002184/0.4026, allocations: 0.8325 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.4027, allocations: 43.78 kB / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.4028, allocations: 0 / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.4028, allocations: 7.875 kB / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.4029, allocations: 19.86 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.515e-05/0.403, allocations: 11.98 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.4031, allocations: 63.84 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.4032, allocations: 31.92 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.4033, allocations: 27.86 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.4033, allocations: 31.78 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4034, allocations: 8 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.4034, allocations: 8 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.4034, allocations: 19.92 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.4034, allocations: 35.73 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.4035, allocations: 75.58 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4036, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4036, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4036, allocations: 0 / 1.322 GB, free: 1.629 MB / 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.0004689/0.404, allocations: 383.1 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4041, allocations: 15.97 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.4041, allocations: 16.89 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4043, allocations: 188.2 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4044, allocations: 8.375 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4044, allocations: 4.375 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4045, allocations: 98.36 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4046, allocations: 4.125 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4046, allocations: 7.938 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.4046, allocations: 3.984 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.4046, allocations: 35.98 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.4052, allocations: 432.8 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/0.4053, allocations: 41.03 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.4053, allocations: 25.84 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.4053, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.4054, allocations: 42.48 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4054, allocations: 0 / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.4055, allocations: 61.48 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4056, allocations: 81.05 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4058, allocations: 164.5 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4058, allocations: 25.7 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.4059, allocations: 104 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.4059, allocations: 11.94 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.4059, allocations: 13.72 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4061, allocations: 322.8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.4061, allocations: 4 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.4061, allocations: 17.72 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.4062, allocations: 33.7 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4062, allocations: 0 / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.2e-05/0.4063, allocations: 53.59 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4063, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4063, allocations: 3.938 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4063, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.4064, allocations: 7.984 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4064, allocations: 8.062 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.4064, allocations: 3.953 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4064, allocations: 11.94 kB / 1.325 GB, free: 15.17 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 8.5e-05/0.4065, allocations: 105.8 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.4065, allocations: 11.95 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.4066, allocations: 11.81 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4066, allocations: 3.984 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4066, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4066, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.407, allocations: 474.8 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.407, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.407, allocations: 4 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.407, allocations: 96 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.407, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.407, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.407, allocations: 3.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.4071, allocations: 93.83 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.4072, allocations: 89 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.4072, allocations: 7.938 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.4072, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.4072, allocations: 7.922 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.4072, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.612e-05/0.4073, allocations: 125.3 kB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001903/0.4075, allocations: 8 kB / 1.325 GB, free: 14.12 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.0001485/0.4077, allocations: 103.2 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.4078, allocations: 15.94 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4078, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.4078, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.408, allocations: 18.08 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4083, allocations: 161.1 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4087, allocations: 0.6885 MB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.4087, allocations: 8.422 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.4087, allocations: 11.44 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4087, allocations: 0 / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of Templates: time 0.003025/0.4118, allocations: 476.5 kB / 1.327 GB, free: 12.59 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.745312406215817]