Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001677/0.001677, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002006/0.002006, allocations: 221.6 kB / 23 MB, free: 4.918 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [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.002145/0.002145, allocations: 66.12 kB / 1.118 GB, free: 41.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002567/0.3791, allocations: 0.7971 MB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.3792, allocations: 43.78 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.3793, allocations: 4 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.3793, allocations: 11.86 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.3794, allocations: 7.938 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.354e-05/0.3795, allocations: 19.92 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3796, allocations: 63.84 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3798, allocations: 23.97 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3798, allocations: 31.86 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.3799, allocations: 27.78 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3799, allocations: 8 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3799, allocations: 8 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.38, allocations: 11.94 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.38, allocations: 31.8 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3802, allocations: 79.58 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3802, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3802, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3802, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 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.0005182/0.3807, allocations: 314 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3807, allocations: 8.031 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3808, allocations: 16.89 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.381, allocations: 130.4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.381, allocations: 12.38 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.381, allocations: 4.375 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3812, allocations: 99.84 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3812, allocations: 192 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3812, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3812, allocations: 7.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.3813, allocations: 35.98 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.3819, allocations: 360.3 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.3819, allocations: 41.34 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.382, allocations: 17.78 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.382, allocations: 0 / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.382, allocations: 34.56 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.382, allocations: 3.938 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.3822, allocations: 53.58 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3823, allocations: 81.05 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3824, allocations: 130.1 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3824, allocations: 29.7 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.3825, allocations: 111.9 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.3825, allocations: 7.953 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.3825, allocations: 13.72 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3827, allocations: 314.8 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3827, allocations: 7.984 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.3827, allocations: 25.7 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.3828, allocations: 21.72 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3828, allocations: 0 / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.685e-05/0.3829, allocations: 65.58 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3829, allocations: 6.344 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3829, allocations: 0 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3829, allocations: 7.938 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.3829, allocations: 4 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.383, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.383, allocations: 4 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.383, allocations: 0 / 1.287 GB, free: 8.613 MB / 0.9825 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 9.932e-05/0.3831, allocations: 121.7 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3831, allocations: 16 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3831, allocations: 11.41 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3831, allocations: 3.938 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3832, allocations: 4 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3832, allocations: 0 / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.3835, allocations: 410.5 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3835, allocations: 3.938 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3836, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3836, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3836, allocations: 3.938 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3836, allocations: 4.062 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3836, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.861e-05/0.3837, allocations: 73.94 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.3837, allocations: 15.88 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3837, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.3837, allocations: 4 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3837, allocations: 3.984 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3837, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.3838, allocations: 96.27 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3838, allocations: 4 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001939/0.384, allocations: 15.98 kB / 1.288 GB, free: 7.754 MB / 0.9825 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.0001193/0.3841, allocations: 95.25 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.3842, allocations: 19.94 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3842, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.3842, allocations: 4 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.3844, allocations: 11.92 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.3847, allocations: 176.5 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.3848, allocations: 87.39 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3848, allocations: 11.44 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3848, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.002452/0.3873, allocations: 0.7992 MB / 1.289 GB, free: 6.488 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.103179584257305]