Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001492/0.001492, allocations: 110 kB / 18.93 MB, free: 2.945 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.001401/0.001401, allocations: 186.9 kB / 22.22 MB, free: 5.16 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.519/1.519, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.88 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002431/1.015, allocations: 0.8326 MB / 1.219 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/1.015, allocations: 40.75 kB / 1.219 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/1.015, allocations: 1.156 kB / 1.219 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/1.015, allocations: 9.094 kB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/1.015, allocations: 16.92 kB / 1.219 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.327e-05/1.015, allocations: 18.8 kB / 1.219 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/1.015, allocations: 59.84 kB / 1.219 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/1.016, allocations: 37.86 kB / 1.219 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/1.016, allocations: 32.77 kB / 1.219 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/1.016, allocations: 28.53 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/1.016, allocations: 5.75 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/1.016, allocations: 7.031 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/1.016, allocations: 10.59 kB / 1.22 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/1.016, allocations: 37.7 kB / 1.22 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/1.016, allocations: 83.19 kB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.016, allocations: 1.125 kB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/1.016, allocations: 0 / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.016, allocations: 0 / 1.22 GB, free: 2.762 MB / 0.92 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.0006158/1.017, allocations: 382.6 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.017, allocations: 9.75 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/1.017, allocations: 16.91 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/1.017, allocations: 186.8 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.017, allocations: 8.375 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/1.017, allocations: 8.719 kB / 1.22 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/1.017, allocations: 100.4 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.017, allocations: 192 / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.017, allocations: 5.25 kB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/1.017, allocations: 5.375 kB / 1.22 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/1.017, allocations: 39.95 kB / 1.22 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/1.018, allocations: 437.4 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/1.018, allocations: 45 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/1.018, allocations: 18.81 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/1.018, allocations: 0 / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.018, allocations: 39.73 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 3.035e-06/1.018, allocations: 5.203 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/1.018, allocations: 54.72 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/1.018, allocations: 77.11 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/1.018, allocations: 158.1 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.018, allocations: 26.83 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/1.019, allocations: 104.5 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/1.019, allocations: 9.109 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/1.019, allocations: 17.16 kB / 1.221 GB, free: 1.023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.019, allocations: 321 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/1.019, allocations: 7.75 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/1.019, allocations: 17.95 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/1.019, allocations: 38.41 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.019, allocations: 0 / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.484e-05/1.019, allocations: 59.61 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.019, allocations: 5.75 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.019, allocations: 3.938 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.019, allocations: 5.141 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/1.019, allocations: 5.906 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.019, allocations: 0 / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/1.019, allocations: 6.125 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/1.019, allocations: 2.188 kB / 1.222 GB, free: 0.5859 MB / 0.92 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 0.0001005/1.019, allocations: 125.1 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/1.019, allocations: 8.391 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/1.019, allocations: 18.11 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1.019, allocations: 1.219 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.019, allocations: 0 / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.019, allocations: 5.094 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/1.02, allocations: 478.7 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.02, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/1.02, allocations: 3.312 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.02, allocations: 1.281 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/1.02, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.02, allocations: 1.312 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.02, allocations: 1.406 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/1.02, allocations: 85.66 kB / 1.222 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/1.02, allocations: 87.72 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/1.02, allocations: 5.297 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/1.02, allocations: 1.094 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/1.02, allocations: 5.062 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.02, allocations: 1.156 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001214/1.02, allocations: 120.3 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001908/1.02, allocations: 11.75 kB / 1.223 GB, free: 15.62 MB / 0.9356 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.0001593/1.021, allocations: 93.31 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001168/1.021, allocations: 18.25 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.021, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/1.021, allocations: 12.08 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.021, allocations: 19 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/1.021, allocations: 163.4 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/1.022, allocations: 0.6946 MB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.737e-05/1.022, allocations: 8.484 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/1.022, allocations: 11.62 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/1.022, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.003448/1.025, allocations: 492.2 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.269738716073334]