Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0009039/0.0009039, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.001649/0.001649, allocations: 208.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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 0.991/0.991, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.92/1.92, allocations: 0.5045 GB / 0.8104 GB, free: 2.715 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008627/0.0008627, allocations: 71.89 kB / 1.177 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7585, allocations: 180 MB / 1.352 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00152/0.76, allocations: 0.7914 MB / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.7601, allocations: 39.78 kB / 1.353 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.7602, allocations: 0 / 1.353 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.7602, allocations: 11.86 kB / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.7603, allocations: 19.88 kB / 1.353 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 3.85e-05/0.7603, allocations: 15.98 kB / 1.353 GB, free: 0.7539 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.7604, allocations: 67.77 kB / 1.353 GB, free: 0.6875 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.7605, allocations: 23.98 kB / 1.353 GB, free: 0.6641 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.7606, allocations: 31.8 kB / 1.353 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.7607, allocations: 23.84 kB / 1.353 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.7607, allocations: 8 kB / 1.353 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.7607, allocations: 4 kB / 1.353 GB, free: 0.5977 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.7607, allocations: 19.92 kB / 1.353 GB, free: 0.5781 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.7607, allocations: 27.81 kB / 1.354 GB, free: 0.5508 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.7608, allocations: 77.83 kB / 1.354 GB, free: 488 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7609, allocations: 4 kB / 1.354 GB, free: 484 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7609, allocations: 4 kB / 1.354 GB, free: 480 kB / 1.026 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7609, allocations: 3.984 kB / 1.354 GB, free: 476 kB / 1.026 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.0003565/0.7612, allocations: 302 kB / 1.354 GB, free: 140 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7613, allocations: 8.922 kB / 1.354 GB, free: 132 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.7613, allocations: 42.73 kB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.7613, allocations: 8.891 kB / 1.354 GB, free: 72 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.7615, allocations: 130.4 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7615, allocations: 12.28 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.7615, allocations: 8.375 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.7616, allocations: 98.23 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7616, allocations: 3.938 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.7616, allocations: 7.984 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7617, allocations: 4 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.7617, allocations: 35.92 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.7622, allocations: 391.8 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.7622, allocations: 37.31 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.7623, allocations: 21.72 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.7623, allocations: 4 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.7623, allocations: 34.56 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7623, allocations: 0 / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.7624, allocations: 61.52 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7625, allocations: 77.11 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7626, allocations: 156.9 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.7626, allocations: 25.7 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.7626, allocations: 116 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-06/0.7626, allocations: 3.953 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.7627, allocations: 17.97 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.7627, allocations: 322.8 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.7627, allocations: 7.938 kB / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.7628, allocations: 25.66 kB / 1.355 GB, free: 14.32 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.7628, allocations: 29.64 kB / 1.355 GB, free: 14.29 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7628, allocations: 0 / 1.355 GB, free: 14.29 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.318e-05/0.7628, allocations: 57.59 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7629, allocations: 11.94 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7629, allocations: 64 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7629, allocations: 4 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.7629, allocations: 7.984 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7629, allocations: 4 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.763, allocations: 11.89 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.763, allocations: 4 kB / 1.356 GB, free: 14.18 MB / 1.042 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 5.583e-05/0.763, allocations: 114.4 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.763, allocations: 11.89 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.7631, allocations: 7.812 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.7631, allocations: 0 / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7631, allocations: 4 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7631, allocations: 7.984 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.7633, allocations: 433.9 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7633, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-06/0.7633, allocations: 4 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7633, allocations: 0 / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.7633, allocations: 0 / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7633, allocations: 4 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7633, allocations: 3.938 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.727e-05/0.7634, allocations: 77.88 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.7634, allocations: 16.05 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.7634, allocations: 0 / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.7634, allocations: 4 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.7635, allocations: 0 / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.7635, allocations: 3.984 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.7635, allocations: 118.3 kB / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7635, allocations: 0 / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001253/0.7636, allocations: 12 kB / 1.356 GB, free: 13.29 MB / 1.042 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.0002905/0.7639, allocations: 0.617 MB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 9.342e-05/0.764, allocations: 23.95 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.764, allocations: 3.938 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.764, allocations: 8 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.7642, allocations: 6.438 kB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.7651, allocations: 1.337 MB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.7651, allocations: 79.58 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.7651, allocations: 16.48 kB / 1.358 GB, free: 11.05 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.7652, allocations: 27.42 kB / 1.358 GB, free: 11.03 MB / 1.042 GB Notification: Performance of SimCode: time 1.332e-06/0.7652, allocations: 0 / 1.358 GB, free: 11.03 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07353/0.8387, allocations: 2.09 MB / 1.36 GB, free: 9.078 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.65, allocations: 10.8 kB / 1.36 GB, free: 9.07 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.46114475093782]