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.001818/0.001818, allocations: 81.94 kB / 19.76 MB, free: 2.02 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.002417/0.002417, allocations: 154.1 kB / 23 MB, free: 4.969 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.679/2.679, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.002318/0.002318, allocations: 66.09 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3905, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002447/0.393, allocations: 0.8011 MB / 1.118 GB, free: 1.781 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.3931, allocations: 39.78 kB / 1.118 GB, free: 1.742 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3932, allocations: 4 kB / 1.118 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.3932, allocations: 11.86 kB / 1.118 GB, free: 1.727 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.3933, allocations: 11.88 kB / 1.118 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-05/0.3934, allocations: 15.98 kB / 1.118 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3935, allocations: 71.83 kB / 1.118 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3937, allocations: 31.89 kB / 1.118 GB, free: 1.598 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.3937, allocations: 23.92 kB / 1.118 GB, free: 1.574 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.3938, allocations: 31.73 kB / 1.118 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3938, allocations: 4 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.3938, allocations: 8 kB / 1.118 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3939, allocations: 15.92 kB / 1.118 GB, free: 1.516 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3939, allocations: 23.88 kB / 1.119 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.394, allocations: 71.64 kB / 1.119 GB, free: 1.422 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.394, allocations: 3.938 kB / 1.119 GB, free: 1.418 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.394, allocations: 4 kB / 1.119 GB, free: 1.414 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3941, allocations: 3.984 kB / 1.119 GB, free: 1.41 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.0004914/0.3945, allocations: 306 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3946, allocations: 8.031 kB / 1.119 GB, free: 1.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3946, allocations: 12.83 kB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3948, allocations: 134.4 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3948, allocations: 8.375 kB / 1.119 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3949, allocations: 4.375 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.395, allocations: 99.88 kB / 1.119 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.395, allocations: 192 / 1.119 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3951, allocations: 7.938 kB / 1.119 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3951, allocations: 4 kB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.3951, allocations: 31.98 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.3957, allocations: 360.4 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.3957, allocations: 37.22 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.3958, allocations: 17.78 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3958, allocations: 0 / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3958, allocations: 38.59 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 6.122e-06/0.3958, allocations: 4 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.396, allocations: 57.52 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.3961, allocations: 77.11 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3962, allocations: 129.8 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3962, allocations: 25.7 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.3963, allocations: 107.9 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3963, allocations: 11.95 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3964, allocations: 13.72 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3965, allocations: 314.8 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.3965, allocations: 7.984 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.3966, allocations: 21.97 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.3966, allocations: 29.66 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3966, allocations: 0 / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.081e-05/0.3967, allocations: 57.64 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3967, allocations: 7.938 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3967, allocations: 96 / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3968, allocations: 7.922 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.3968, allocations: 11.94 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3968, allocations: 4.062 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.3969, allocations: 3.938 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3969, allocations: 4 kB / 1.12 GB, free: 15.27 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 9.525e-05/0.397, allocations: 117.8 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.397, allocations: 3.953 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.397, allocations: 15.41 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.397, allocations: 0 / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.397, allocations: 0 / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.397, allocations: 7.938 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.3974, allocations: 410.5 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3975, allocations: 11.97 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.3975, allocations: 0 / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3975, allocations: 4 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3975, allocations: 0 / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3975, allocations: 0 / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3975, allocations: 3.984 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.3976, allocations: 77.88 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.3976, allocations: 11.89 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3976, allocations: 4 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.3977, allocations: 0 / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3977, allocations: 12.02 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3977, allocations: 0 / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.3978, allocations: 95.27 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002001/0.398, allocations: 12 kB / 1.121 GB, free: 14.43 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 0.0001263/0.3981, allocations: 95.25 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.3982, allocations: 15.94 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3982, allocations: 0 / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.3982, allocations: 8.125 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3983, allocations: 22.95 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3987, allocations: 158.1 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.3988, allocations: 79.28 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3988, allocations: 11.92 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.3988, allocations: 8.5 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.3988, allocations: 8.062 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of Templates: time 0.002705/0.4015, allocations: 325 kB / 1.122 GB, free: 13.65 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.703954705037177]