Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001221/0.001221, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001471/0.001471, allocations: 218.2 kB / 23.01 MB, free: 4.605 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002111/0.002111, allocations: 71.14 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3543, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002121/0.3565, allocations: 0.8297 MB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.3566, allocations: 47.78 kB / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.3566, allocations: 0 / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.3567, allocations: 11.86 kB / 1.355 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.3567, allocations: 7.875 kB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.73e-05/0.3568, allocations: 15.98 kB / 1.355 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3569, allocations: 67.83 kB / 1.355 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.357, allocations: 31.97 kB / 1.355 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.3571, allocations: 35.8 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.3572, allocations: 23.86 kB / 1.355 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3572, allocations: 8 kB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.3572, allocations: 4 kB / 1.355 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3572, allocations: 19.92 kB / 1.355 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3573, allocations: 31.69 kB / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3574, allocations: 83.38 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.3574, allocations: 3.984 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3574, allocations: 0 / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3574, allocations: 0 / 1.355 GB, free: 6.801 MB / 1.045 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.0004636/0.3579, allocations: 306 kB / 1.356 GB, free: 6.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3579, allocations: 8.031 kB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.358, allocations: 12.89 kB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3582, allocations: 138.4 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3582, allocations: 4.375 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3582, allocations: 8.375 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3584, allocations: 99.78 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3584, allocations: 4.188 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3584, allocations: 7.938 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3584, allocations: 0 / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.3585, allocations: 39.92 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.3591, allocations: 399.8 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.3591, allocations: 45.19 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.3592, allocations: 17.83 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.3592, allocations: 0 / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3592, allocations: 38.56 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3592, allocations: 0 / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.3594, allocations: 57.75 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3595, allocations: 81.09 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3596, allocations: 151.7 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3596, allocations: 29.7 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.3597, allocations: 108 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.3597, allocations: 3.953 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.3598, allocations: 21.7 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3599, allocations: 318.8 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.3599, allocations: 12.02 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.36, allocations: 17.72 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.36, allocations: 29.66 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.36, allocations: 0 / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.3601, allocations: 61.58 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3601, allocations: 6.031 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3602, allocations: 12 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3602, allocations: 0 / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.3602, allocations: 4 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.3602, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.3603, allocations: 15.89 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.3603, allocations: 0 / 1.357 GB, free: 4.562 MB / 1.045 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.973e-05/0.3604, allocations: 125.7 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3604, allocations: 7.953 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.3604, allocations: 19.73 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3604, allocations: 4 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3604, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3604, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3609, allocations: 441.8 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3609, allocations: 4 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.3609, allocations: 0 / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3609, allocations: 4 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3609, allocations: 4.062 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3609, allocations: 0 / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3609, allocations: 3.984 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.202e-05/0.361, allocations: 81.83 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.361, allocations: 11.94 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3611, allocations: 0 / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3611, allocations: 4 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3611, allocations: 4.031 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3611, allocations: 4 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000107/0.3612, allocations: 120.9 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001883/0.3614, allocations: 8 kB / 1.358 GB, free: 3.641 MB / 1.045 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.0001123/0.3615, allocations: 91.25 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.3616, allocations: 27.92 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3616, allocations: 4.062 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3616, allocations: 4 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.3618, allocations: 11.94 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.3622, allocations: 184.4 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3625, allocations: 0.7003 MB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3625, allocations: 11.53 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3625, allocations: 0 / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of Templates: time 0.002473/0.365, allocations: 0.8681 MB / 1.36 GB, free: 1.664 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.346013449016027]