Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001262/0.001262, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001384/0.001384, allocations: 219.8 kB / 23.01 MB, free: 5.086 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.931/2.931, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_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.002071/0.002071, allocations: 64.23 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 169.9 MB / 1.285 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002059/0.3743, allocations: 0.8491 MB / 1.285 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.3744, allocations: 35.8 kB / 1.285 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.3744, allocations: 0 / 1.285 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3745, allocations: 15.86 kB / 1.285 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.3746, allocations: 11.86 kB / 1.285 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.029e-05/0.3746, allocations: 23.92 kB / 1.286 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3747, allocations: 55.84 kB / 1.286 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3749, allocations: 39.97 kB / 1.286 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.3749, allocations: 19.88 kB / 1.286 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.375, allocations: 31.84 kB / 1.286 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.375, allocations: 8 kB / 1.286 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.375, allocations: 4 kB / 1.286 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.375, allocations: 15.88 kB / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3751, allocations: 39.73 kB / 1.286 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3752, allocations: 75.58 kB / 1.286 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3752, allocations: 0 / 1.286 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3752, allocations: 0 / 1.286 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3752, allocations: 0 / 1.286 GB, free: 2.031 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.0004515/0.3757, allocations: 311.9 kB / 1.286 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3757, allocations: 12.03 kB / 1.286 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3757, allocations: 8.891 kB / 1.286 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.376, allocations: 130.4 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.376, allocations: 8.375 kB / 1.286 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.376, allocations: 4.375 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3761, allocations: 99.86 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3762, allocations: 4.125 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3762, allocations: 3.938 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3762, allocations: 4 kB / 1.286 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.3763, allocations: 35.98 kB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.3768, allocations: 399.9 kB / 1.287 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.3769, allocations: 45.09 kB / 1.287 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.3769, allocations: 17.84 kB / 1.287 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3769, allocations: 4 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.377, allocations: 38.48 kB / 1.287 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.377, allocations: 0 / 1.287 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.3772, allocations: 53.59 kB / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3772, allocations: 85.05 kB / 1.287 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3774, allocations: 156.5 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3774, allocations: 29.7 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.3775, allocations: 108 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.3775, allocations: 7.953 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.3775, allocations: 13.72 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3777, allocations: 323.1 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.3777, allocations: 11.94 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.3777, allocations: 17.7 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.3777, allocations: 33.66 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3777, allocations: 0 / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.712e-05/0.3778, allocations: 53.59 kB / 1.288 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3779, allocations: 10.25 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3779, allocations: 7.938 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3779, allocations: 0 / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.3779, allocations: 7.984 kB / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3779, allocations: 0 / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.378, allocations: 15.89 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.378, allocations: 0 / 1.288 GB, free: 15.79 MB / 0.9981 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 8.498e-05/0.3781, allocations: 113.8 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.3781, allocations: 7.953 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.3781, allocations: 19.73 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3781, allocations: 0 / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3781, allocations: 0 / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3781, allocations: 4 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.3785, allocations: 445.9 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3786, allocations: 4 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.3786, allocations: 3.984 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3786, allocations: 8.062 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3786, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3786, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3786, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.3787, allocations: 81.81 kB / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.3787, allocations: 15.91 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3787, allocations: 4 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.3787, allocations: 4.031 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3788, allocations: 3.984 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3788, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.486e-05/0.3788, allocations: 120.5 kB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3788, allocations: 0 / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000186/0.379, allocations: 12 kB / 1.289 GB, free: 14.88 MB / 0.9981 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.0001064/0.3791, allocations: 95.25 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.3792, allocations: 19.94 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3792, allocations: 0 / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/0.3792, allocations: 4 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3794, allocations: 15.88 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.3798, allocations: 184.5 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3801, allocations: 0.6926 MB / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.3801, allocations: 15.38 kB / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3801, allocations: 0 / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.002502/0.3826, allocations: 0.8669 MB / 1.29 GB, free: 12.91 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.190004187024897]