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.001375/0.001375, allocations: 79.19 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.001803/0.001803, allocations: 159.2 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.875 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.83/2.83, 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.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.002126/0.002126, allocations: 63.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001921/1.014, allocations: 0.7834 MB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/1.014, allocations: 44.67 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/1.014, allocations: 2.562 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/1.014, allocations: 11.34 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/1.014, allocations: 7.875 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.693e-05/1.014, allocations: 20.92 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/1.014, allocations: 58.7 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/1.014, allocations: 30.98 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/1.014, allocations: 30.8 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/1.014, allocations: 23.81 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/1.014, allocations: 5.781 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/1.014, allocations: 9.812 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/1.014, allocations: 18.31 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/1.014, allocations: 25.48 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/1.015, allocations: 76.53 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.015, allocations: 6.906 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/1.015, allocations: 0 / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.015, allocations: 0 / 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.0004209/1.015, allocations: 303.4 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.015, allocations: 10.5 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/1.015, allocations: 10.14 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/1.015, allocations: 139.9 kB / 1.155 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.015, allocations: 7.094 kB / 1.155 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/1.015, allocations: 9.688 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/1.015, allocations: 95.25 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.015, allocations: 192 / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.015, allocations: 7.938 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.015, allocations: 2.844 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/1.015, allocations: 39.59 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/1.016, allocations: 351.5 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/1.016, allocations: 42.16 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/1.016, allocations: 19 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/1.016, allocations: 3.984 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.016, allocations: 37.09 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.016, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/1.016, allocations: 58.8 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.016, allocations: 81.05 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/1.016, allocations: 127.5 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/1.016, allocations: 25.7 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/1.016, allocations: 113.3 kB / 1.156 GB, free: 31.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/1.016, allocations: 11.89 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/1.016, allocations: 19.75 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/1.016, allocations: 313.7 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/1.016, allocations: 9.938 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/1.016, allocations: 15.66 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/1.016, allocations: 30.03 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.016, allocations: 0 / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.636e-05/1.017, allocations: 57.7 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.017, allocations: 9.594 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.017, allocations: 3.984 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.017, allocations: 6.75 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/1.017, allocations: 6.219 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.017, allocations: 2.875 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/1.017, allocations: 0 / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.017, allocations: 6.625 kB / 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.053e-05/1.017, allocations: 113.4 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/1.017, allocations: 10.89 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/1.017, allocations: 10.25 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.017, allocations: 4 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.017, allocations: 3.234 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.017, allocations: 2.438 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/1.017, allocations: 405.5 kB / 1.157 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.017, allocations: 6.594 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/1.017, allocations: 2.875 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.017, allocations: 0 / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/1.017, allocations: 0 / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.017, allocations: 10.14 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.017, allocations: 3.938 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.063e-05/1.017, allocations: 77.52 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/1.017, allocations: 13.44 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/1.017, allocations: 2.906 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/1.017, allocations: 0 / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/1.017, allocations: 3.938 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/1.017, allocations: 2.719 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.474e-05/1.017, allocations: 101.6 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001875/1.017, allocations: 12.84 kB / 1.158 GB, free: 30.04 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.482e-05/1.018, allocations: 97.56 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/1.018, allocations: 19.72 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.018, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/1.018, allocations: 6.172 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.0001504/1.018, allocations: 14.53 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/1.018, allocations: 156.1 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/1.018, allocations: 85.27 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.899e-05/1.018, allocations: 6 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/1.018, allocations: 11 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.018, allocations: 0 / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of Templates: time 0.002593/1.021, allocations: 318.3 kB / 1.158 GB, free: 29.62 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.008822091971524]