Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00192/0.00192, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.002669/0.002669, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.361/3.361, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [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.002338/0.002338, allocations: 71.73 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.358, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002309/0.3603, allocations: 0.8235 MB / 1.349 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.3604, allocations: 43.78 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.3604, allocations: 8 kB / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.3605, allocations: 11.86 kB / 1.349 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.3606, allocations: 3.938 kB / 1.349 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.927e-05/0.3606, allocations: 15.98 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3608, allocations: 67.78 kB / 1.349 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3609, allocations: 35.84 kB / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.361, allocations: 23.88 kB / 1.349 GB, free: 8.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.361, allocations: 35.83 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3611, allocations: 4 kB / 1.349 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.3611, allocations: 8 kB / 1.349 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.3611, allocations: 15.94 kB / 1.349 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.3611, allocations: 39.67 kB / 1.349 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3613, allocations: 75.86 kB / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3613, allocations: 0 / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3613, allocations: 4 kB / 1.349 GB, free: 8.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3613, allocations: 0 / 1.349 GB, free: 8.773 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.0005213/0.3618, allocations: 383.1 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3619, allocations: 15.98 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.3619, allocations: 34.75 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.362, allocations: 24.88 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3622, allocations: 192.2 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3623, allocations: 4.375 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3623, allocations: 8.375 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3625, allocations: 91.86 kB / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3625, allocations: 3.938 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3625, allocations: 7.938 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3625, allocations: 0 / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.3626, allocations: 39.97 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3633, allocations: 432.7 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.3634, allocations: 41.28 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3635, allocations: 17.84 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.3635, allocations: 4 kB / 1.35 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.3635, allocations: 38.5 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3635, allocations: 0 / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002218/0.3638, allocations: 53.58 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.3638, allocations: 85.05 kB / 1.35 GB, free: 7.105 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3641, allocations: 155.5 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3641, allocations: 33.7 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3642, allocations: 104 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.3642, allocations: 7.938 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3643, allocations: 17.72 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3644, allocations: 322.8 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.3645, allocations: 3.938 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.3645, allocations: 25.66 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.3645, allocations: 29.7 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3645, allocations: 0 / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001537/0.3647, allocations: 57.59 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.3647, allocations: 11.94 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3647, allocations: 0 / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3648, allocations: 0 / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.3648, allocations: 7.984 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3649, allocations: 4.062 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.3649, allocations: 7.953 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3649, allocations: 4 kB / 1.351 GB, free: 6.277 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 0.0001009/0.365, allocations: 113.8 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.365, allocations: 11.89 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.3651, allocations: 11.88 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3651, allocations: 0 / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3651, allocations: 7.984 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3651, allocations: 0 / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.3657, allocations: 478.7 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3657, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.3657, allocations: 4 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3657, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3657, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3657, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3657, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3658, allocations: 89.88 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.3659, allocations: 89.09 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3659, allocations: 4 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.3659, allocations: 3.984 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.366, allocations: 3.984 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.366, allocations: 4 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001207/0.3661, allocations: 126.5 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003248/0.3664, allocations: 8 kB / 1.352 GB, free: 5.223 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.0005437/0.3669, allocations: 0.6132 MB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.367, allocations: 19.97 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.367, allocations: 3.938 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.3671, allocations: 4 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3673, allocations: 10.5 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3689, allocations: 1.339 MB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3692, allocations: 0.6885 MB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.3693, allocations: 8.422 kB / 1.355 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3693, allocations: 23.42 kB / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.3693, allocations: 0 / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.3957, allocations: 1.598 MB / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.765, allocations: 1.688 kB / 1.356 GB, free: 0.9023 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.715940912952647]