Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001115/0.001115, 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.001109/0.001109, 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.9588/0.9588, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.995/1.995, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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_Btu,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.986e-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.To_Btu): time 0.001493/0.001523, allocations: 0.7829 MB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.001642, allocations: 51.77 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.001691, allocations: 0 / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.001724, allocations: 7.875 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.001805, allocations: 7.938 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.775e-05/0.001843, allocations: 19.92 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.00194, allocations: 63.83 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.002069, allocations: 35.97 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.002157, allocations: 35.91 kB / 1.002 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.002198, allocations: 15.92 kB / 1.002 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.002222, allocations: 12 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.002231, allocations: 4 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.002251, allocations: 19.91 kB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.002278, allocations: 15.94 kB / 1.002 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.00239, allocations: 79.62 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.002393, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002395, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.0024, allocations: 0 / 1.002 GB, free: 12.34 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.0003685/0.002768, allocations: 306 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.002813, allocations: 9.344 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.002849, allocations: 42.75 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.002874, allocations: 8.891 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.003045, allocations: 141.6 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.003055, allocations: 4.375 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.003067, allocations: 12.36 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.003199, allocations: 94.34 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.003207, allocations: 8.125 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.003217, allocations: 4.375 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003223, allocations: 4.125 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.003285, allocations: 39.92 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.003713, allocations: 391.8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.003786, allocations: 41.23 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.003819, allocations: 17.78 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.003828, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.003853, allocations: 30.56 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.003855, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000171/0.004026, allocations: 53.59 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.004071, allocations: 89.28 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.004205, allocations: 156.6 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.004214, allocations: 25.7 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.004272, allocations: 108 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.00428, allocations: 7.891 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.004312, allocations: 21.7 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.004396, allocations: 318.8 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.004414, allocations: 11.98 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.004435, allocations: 21.66 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.004471, allocations: 21.72 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004474, allocations: 4 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.622e-05/0.00454, allocations: 65.58 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.004555, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.00456, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.004572, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.004634, allocations: 11.94 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.004639, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.004661, allocations: 11.89 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.004667, 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.922e-05/0.004736, allocations: 120.5 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.004759, allocations: 7.953 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.004782, allocations: 15.8 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004784, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.00479, allocations: 3.938 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.004793, allocations: 0 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.005111, allocations: 433.9 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.005114, allocations: 4 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.005136, allocations: 7.875 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.00514, allocations: 4 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.00515, allocations: 8 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.005153, allocations: 3.984 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005154, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.161e-05/0.005216, allocations: 74.78 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.005241, allocations: 23.83 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.005252, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.005262, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.005277, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.005281, allocations: 4 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.005346, allocations: 119.2 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005346, allocations: 32 / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001313/0.005478, allocations: 11.94 kB / 1.005 GB, free: 9.156 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.000263/0.005741, allocations: 0.6171 MB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.005824, allocations: 15.94 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.005825, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-06/0.005831, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.005966, allocations: 15.92 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.007026, allocations: 1.348 MB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.007075, allocations: 75.33 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.007109, allocations: 16.55 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.007153, allocations: 20.5 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of SimCode: time 1.443e-06/0.007154, allocations: 0 / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08749/0.09465, allocations: 2.231 MB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.504, allocations: 3.984 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_Btu.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.3496503084898]