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.001335/0.001335, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001681/0.001681, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9883/0.9883, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.928/1.928, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 2.725e-06/2.725e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.925e-05, allocations: 6.219 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.003534/0.003564, allocations: 0.7868 MB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.003775, allocations: 47.78 kB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.003839, allocations: 0 / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.003877, allocations: 7.875 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.003982, allocations: 11.86 kB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.12e-05/0.004034, allocations: 15.98 kB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.004156, allocations: 67.83 kB / 1.002 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.004326, allocations: 23.98 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004441, allocations: 43.89 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.00449, allocations: 23.84 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.00451, allocations: 4 kB / 1.002 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.004521, allocations: 8 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.004542, allocations: 11.94 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.004576, allocations: 23.91 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004712, allocations: 75.69 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.004717, allocations: 0 / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.334e-06/0.004719, allocations: 0 / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.004725, allocations: 0 / 1.002 GB, free: 12.38 MB / 0.9636 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.0004319/0.005157, allocations: 306 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.00521, allocations: 9.344 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.005261, allocations: 46.73 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.005289, allocations: 8.891 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.005493, allocations: 133.6 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005508, allocations: 8.375 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.00552, allocations: 8.312 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.005687, allocations: 95.84 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005697, allocations: 192 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.00571, allocations: 8.312 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.005717, allocations: 4.125 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.005799, allocations: 43.92 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.006375, allocations: 395.8 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.921e-05/0.006444, allocations: 41.25 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.006484, allocations: 17.78 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.006493, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.006516, allocations: 42.48 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.006517, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001925/0.00671, allocations: 53.81 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.006764, allocations: 85.05 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.006931, allocations: 157 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006943, allocations: 29.7 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.00701, allocations: 104 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.00702, allocations: 3.953 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.007056, allocations: 17.72 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007167, allocations: 322.8 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.007185, allocations: 0 / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.00721, allocations: 25.66 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.00726, allocations: 33.73 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.007263, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.007355, allocations: 57.59 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.007371, allocations: 4 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007377, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.007393, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.007465, allocations: 15.92 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.007472, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.007501, allocations: 7.891 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.007508, allocations: 12.06 kB / 1.004 GB, free: 10.09 MB / 0.9636 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 7.571e-05/0.007584, allocations: 113.8 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.007625, allocations: 7.953 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.007654, allocations: 11.81 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007657, allocations: 0 / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.007664, allocations: 7.922 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007667, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.008063, allocations: 429.9 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008065, allocations: 0 / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.008085, allocations: 7.938 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.008088, allocations: 4.062 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.008097, allocations: 4 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.008101, allocations: 7.875 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.008102, allocations: 0 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.077e-05/0.008183, allocations: 82.7 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.008213, allocations: 15.84 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.008228, allocations: 4 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.008244, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.008266, allocations: 3.984 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008269, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.713e-05/0.008356, allocations: 119.3 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008356, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002098/0.008566, allocations: 15.98 kB / 1.005 GB, free: 9.184 MB / 0.9636 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.0003819/0.008948, allocations: 0.6093 MB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.009057, allocations: 23.92 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.009061, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-06/0.00907, allocations: 4 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.00926, allocations: 12.28 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.01061, allocations: 1.343 MB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.088e-05/0.01069, allocations: 79.31 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01072, allocations: 12.56 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.01078, allocations: 28.48 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01078, allocations: 0 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08736/0.09814, allocations: 2.229 MB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.399, allocations: 7.812 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB " [Timeout remaining time 293] (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.190524427220225]