Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001213/0.001213, 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.001382/0.001382, 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.979/0.979, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.933/1.933, allocations: 389.5 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.From_BtuPerHour,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.348e-05, allocations: 5.797 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001333/0.001356, allocations: 0.7946 MB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.001471, allocations: 39.78 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.001519, allocations: 0 / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.001552, allocations: 15.86 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.001638, allocations: 7.875 kB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.001685, allocations: 23.97 kB / 1.002 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.001778, allocations: 55.84 kB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.001895, allocations: 35.97 kB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.001965, allocations: 39.89 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.002017, allocations: 15.92 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.002035, allocations: 8 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002043, allocations: 4 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.002061, allocations: 15.92 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.002087, allocations: 19.92 kB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002189, allocations: 83.62 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002191, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002191, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002195, allocations: 0 / 1.002 GB, free: 12.36 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.0003684/0.002564, allocations: 306 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.002612, allocations: 13.34 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.002652, allocations: 38.73 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.002678, allocations: 8.891 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.002859, allocations: 137.5 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.002873, allocations: 8.375 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.002883, allocations: 4.375 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003008, allocations: 99.8 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.003019, allocations: 4.172 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.00303, allocations: 4.375 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.003037, allocations: 8.125 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.003098, allocations: 35.92 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.003506, allocations: 395.8 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.003559, allocations: 37.19 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.003591, allocations: 21.83 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.0036, allocations: 4 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.003617, allocations: 30.56 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003618, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.003755, allocations: 53.59 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.003793, allocations: 85.05 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.003914, allocations: 161 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.003922, allocations: 25.7 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.00398, allocations: 108 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.003988, allocations: 3.953 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.004016, allocations: 21.66 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.004104, allocations: 318.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.004119, allocations: 8 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.00414, allocations: 21.95 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.004173, allocations: 29.66 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004175, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.246e-05/0.004238, allocations: 65.58 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.00425, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004255, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.004269, allocations: 4 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.004325, allocations: 11.94 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.00433, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.004349, allocations: 15.95 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.004353, allocations: 0 / 1.004 GB, free: 10.07 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 6.524e-05/0.004418, allocations: 113.8 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.004438, allocations: 7.953 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.004459, allocations: 11.8 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00446, allocations: 0 / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.004466, allocations: 3.938 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004468, allocations: 0 / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.00487, allocations: 441.9 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.004871, allocations: 160 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.004885, allocations: 7.938 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.004887, allocations: 7.984 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.004893, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004894, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004895, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.307e-05/0.004948, allocations: 82.7 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.004968, allocations: 15.84 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.004979, allocations: 3.984 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.00499, allocations: 4 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.005004, allocations: 0 / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.005006, allocations: 8.031 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.005066, allocations: 119.2 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005066, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001232/0.005189, allocations: 4 kB / 1.005 GB, free: 9.172 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.0002287/0.005418, allocations: 0.6209 MB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.005483, allocations: 16 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005485, allocations: 0 / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.005492, allocations: 12.09 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.005604, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.006532, allocations: 1.347 MB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.006578, allocations: 75.33 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.006608, allocations: 12.47 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.006651, allocations: 24.62 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.006652, allocations: 0 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07654/0.08319, allocations: 2.234 MB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.372, allocations: 5.344 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_BtuPerHour.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.1501668067649]