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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 192.1 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 250.8 MB, free: 2.68 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.967/2.967, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.89 kB / 1.137 GB, free: 12.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001834/1.119, allocations: 0.8423 MB / 1.308 GB, free: 33.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/1.119, allocations: 37.91 kB / 1.308 GB, free: 33.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/1.119, allocations: 2.719 kB / 1.308 GB, free: 33.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/1.119, allocations: 11.3 kB / 1.308 GB, free: 33.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/1.119, allocations: 10.84 kB / 1.308 GB, free: 33.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.832e-05/1.119, allocations: 21.47 kB / 1.308 GB, free: 33.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.119, allocations: 61.41 kB / 1.308 GB, free: 33.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/1.119, allocations: 42.38 kB / 1.308 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/1.119, allocations: 20.66 kB / 1.308 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/1.12, allocations: 29.28 kB / 1.308 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/1.12, allocations: 5.531 kB / 1.308 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/1.12, allocations: 8.406 kB / 1.308 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/1.12, allocations: 15.17 kB / 1.308 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/1.12, allocations: 39.91 kB / 1.308 GB, free: 33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/1.12, allocations: 79.27 kB / 1.308 GB, free: 32.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.12, allocations: 0 / 1.308 GB, free: 32.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.12, allocations: 4 kB / 1.308 GB, free: 32.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.12, allocations: 0 / 1.308 GB, free: 32.96 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.000357/1.12, allocations: 301 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.12, allocations: 11.5 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/1.12, allocations: 11.66 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/1.12, allocations: 137.1 kB / 1.308 GB, free: 32.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.12, allocations: 11.12 kB / 1.308 GB, free: 32.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.12, allocations: 6.094 kB / 1.308 GB, free: 32.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/1.12, allocations: 97.42 kB / 1.308 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.12, allocations: 192 / 1.308 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.12, allocations: 3.938 kB / 1.308 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.12, allocations: 2.812 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/1.121, allocations: 39.5 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/1.121, allocations: 398.2 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/1.121, allocations: 50.17 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/1.121, allocations: 16.56 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/1.121, allocations: 2.75 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/1.121, allocations: 30.56 kB / 1.309 GB, free: 31.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/1.121, allocations: 4 kB / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/1.121, allocations: 59.34 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/1.121, allocations: 81.05 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.121, allocations: 158.1 kB / 1.309 GB, free: 31.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/1.121, allocations: 25.7 kB / 1.309 GB, free: 31.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/1.121, allocations: 105.2 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/1.121, allocations: 3.953 kB / 1.309 GB, free: 31.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/1.121, allocations: 30.61 kB / 1.309 GB, free: 31.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/1.122, allocations: 314.8 kB / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/1.122, allocations: 13.27 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/1.122, allocations: 16.53 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/1.122, allocations: 28.81 kB / 1.31 GB, free: 31.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.122, allocations: 0 / 1.31 GB, free: 31.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.681e-05/1.122, allocations: 62.5 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.122, allocations: 5.875 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.122, allocations: 3.938 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.122, allocations: 0 / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/1.122, allocations: 5.125 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.122, allocations: 2.781 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/1.122, allocations: 3.938 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/1.122, allocations: 2.75 kB / 1.31 GB, free: 31.09 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 5.268e-05/1.122, allocations: 124 kB / 1.31 GB, free: 30.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/1.122, allocations: 9.453 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/1.122, allocations: 18.47 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.122, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.122, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.122, allocations: 2.75 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/1.122, allocations: 450.1 kB / 1.31 GB, free: 30.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.122, allocations: 160 / 1.31 GB, free: 30.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/1.122, allocations: 10.88 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.122, allocations: 6.672 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/1.122, allocations: 0 / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.122, allocations: 3.562 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.122, allocations: 2.906 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.533e-05/1.122, allocations: 73.64 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/1.122, allocations: 18.52 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.122, allocations: 0 / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/1.122, allocations: 3.062 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/1.122, allocations: 0 / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.122, allocations: 0 / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.045e-05/1.122, allocations: 120.3 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.122, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001839/1.123, allocations: 12.75 kB / 1.311 GB, free: 30.29 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.0001092/1.123, allocations: 100.9 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.556e-05/1.123, allocations: 18.91 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.123, allocations: 0 / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/1.123, allocations: 10.75 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.123, allocations: 14.78 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/1.123, allocations: 157.8 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/1.123, allocations: 0.6987 MB / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.052e-05/1.123, allocations: 6.938 kB / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/1.123, allocations: 10.31 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/1.123, allocations: 0 / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of Templates: time 0.002915/1.126, allocations: 485.5 kB / 1.312 GB, free: 29.23 MB / 1.061 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 -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.970903117209673]