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.001715/0.001715, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001559/0.001559, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.832/2.832, allocations: 377.9 MB / 0.6228 GB, free: 12.61 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_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.002083/0.002083, allocations: 66.69 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001773/1.059, allocations: 0.7813 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/1.059, allocations: 44.8 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/1.059, allocations: 4 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/1.059, allocations: 7.125 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/1.059, allocations: 10.59 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.051e-05/1.059, allocations: 20.69 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/1.059, allocations: 62.5 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/1.059, allocations: 40.98 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/1.06, allocations: 26.88 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/1.06, allocations: 23.77 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/1.06, allocations: 5.656 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/1.06, allocations: 5.406 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/1.06, allocations: 14.97 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/1.06, allocations: 30.7 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/1.06, allocations: 79.61 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.06, allocations: 0 / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/1.06, allocations: 0 / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.471e-06/1.06, allocations: 0 / 1.155 GB, free: 32.67 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.0003387/1.06, allocations: 307.2 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.06, allocations: 8.5 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/1.06, allocations: 15.02 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.06, allocations: 138.4 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.06, allocations: 11.28 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/1.06, allocations: 9.375 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.061, allocations: 90.97 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.061, allocations: 7.109 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.061, allocations: 7.938 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.061, allocations: 2.906 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/1.061, allocations: 32.23 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/1.061, allocations: 358.9 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/1.061, allocations: 38.97 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/1.061, allocations: 23.55 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/1.061, allocations: 2.719 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/1.061, allocations: 37.16 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.061, allocations: 0 / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/1.061, allocations: 56.91 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/1.061, allocations: 80.11 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/1.061, allocations: 125.3 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/1.061, allocations: 25.7 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/1.061, allocations: 112.5 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/1.061, allocations: 11.89 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/1.061, allocations: 21.98 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/1.061, allocations: 310.8 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/1.061, allocations: 13.25 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/1.062, allocations: 18.34 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/1.062, allocations: 25.62 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.062, allocations: 0 / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.388e-05/1.062, allocations: 61 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.062, allocations: 9.219 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.062, allocations: 6.453 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.062, allocations: 3.938 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/1.062, allocations: 5.125 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.062, allocations: 3.047 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/1.062, allocations: 7 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/1.062, allocations: 0 / 1.157 GB, free: 30.82 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.818e-05/1.062, allocations: 112.6 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/1.062, allocations: 10.7 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/1.062, allocations: 7.406 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.062, allocations: 6.844 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.062, allocations: 2.953 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/1.062, allocations: 0 / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/1.062, allocations: 406.9 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.062, allocations: 6.75 kB / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/1.062, allocations: 6.781 kB / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.062, allocations: 3.422 kB / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/1.062, allocations: 0 / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.062, allocations: 0 / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.062, allocations: 2.812 kB / 1.157 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.415e-05/1.062, allocations: 81.17 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/1.062, allocations: 17.94 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/1.062, allocations: 2.875 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/1.062, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/1.062, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/1.062, allocations: 2.781 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.046e-05/1.062, allocations: 106.6 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 3.938 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001892/1.062, allocations: 9.5 kB / 1.158 GB, free: 30.08 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 7.747e-05/1.063, allocations: 99.66 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/1.063, allocations: 14.91 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.063, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/1.063, allocations: 6.688 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/1.063, allocations: 16.16 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/1.063, allocations: 152.6 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/1.063, allocations: 89.38 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.956e-05/1.063, allocations: 9.812 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/1.063, allocations: 11 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.063, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of Templates: time 0.002558/1.066, allocations: 318.5 kB / 1.158 GB, free: 29.66 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.116497762966901]