Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001297/0.001297, 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.0008777/0.0008777, 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.9413/0.9413, 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 2.005/2.005, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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_Btu,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.327e-05, allocations: 2.281 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00203/0.002053, allocations: 0.8084 MB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.002203, allocations: 35.84 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.002274, allocations: 4 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.002314, allocations: 11.86 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.002419, allocations: 15.8 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.925e-05/0.002478, allocations: 19.98 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.002611, allocations: 55.84 kB / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.002758, allocations: 31.97 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.002845, allocations: 39.91 kB / 1.002 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.002907, allocations: 19.91 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.002931, allocations: 8 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.002942, allocations: 7.938 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.002963, allocations: 11.98 kB / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.002998, allocations: 19.92 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.003145, allocations: 79.69 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003148, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.253e-06/0.003149, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.003154, allocations: 3.938 kB / 1.002 GB, free: 12.33 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.0004552/0.003609, allocations: 306 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.00366, allocations: 13.34 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.003708, allocations: 38.73 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.00374, allocations: 8.891 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.003937, allocations: 129.7 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.003953, allocations: 8.375 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.00397, allocations: 4.375 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.004136, allocations: 99.8 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.004147, allocations: 4.125 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.004159, allocations: 4.375 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.004166, allocations: 8.125 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.004247, allocations: 31.98 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.004802, allocations: 403.7 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.004874, allocations: 33.16 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.004921, allocations: 21.88 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.004933, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.004957, allocations: 34.55 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004958, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001942/0.005152, allocations: 61.53 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.005201, allocations: 81.05 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.005369, allocations: 161 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.005382, allocations: 25.7 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.005454, allocations: 108 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.005463, allocations: 3.953 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.005503, allocations: 17.72 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.005625, allocations: 318.8 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.005647, allocations: 8 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.005676, allocations: 17.97 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.005728, allocations: 33.64 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.005731, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.005834, allocations: 57.66 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.005852, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.005858, allocations: 3.938 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.005876, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.005955, allocations: 15.92 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.005962, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.005997, allocations: 15.95 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006002, allocations: 0 / 1.004 GB, free: 10.05 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 8.235e-05/0.006085, allocations: 116.5 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.006128, allocations: 7.953 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.006153, allocations: 7.812 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.006158, allocations: 3.984 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.006165, allocations: 3.938 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006168, allocations: 0 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.006587, allocations: 437.9 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.00659, allocations: 4.062 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.006616, allocations: 3.938 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.006619, allocations: 4 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.006627, allocations: 3.938 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.00663, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006632, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006738, allocations: 86.78 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.006773, allocations: 15.84 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.006789, allocations: 3.938 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.006811, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.006833, allocations: 8.016 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.006838, allocations: 4 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.706e-05/0.006935, allocations: 119.2 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006935, allocations: 0 / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002134/0.007149, allocations: 4 kB / 1.005 GB, free: 9.148 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.0003564/0.007505, allocations: 0.6171 MB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.007599, allocations: 12 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.007601, allocations: 4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.007614, allocations: 12.09 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.007799, allocations: 4 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.009459, allocations: 1.343 MB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.009531, allocations: 79.31 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.00957, allocations: 12.61 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.009642, allocations: 24.48 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/0.009642, allocations: 0 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08131/0.09095, allocations: 2.228 MB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.351, allocations: 9.969 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_Btu.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.195519080385566]