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.0008457/0.0008457, 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.0009748/0.0009748, allocations: 212.6 kB / 23.02 MB, free: 2.965 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.9659/0.9659, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.936/1.936, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 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.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 0.004589/0.004589, allocations: 73.42 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3491, allocations: 180 MB / 1.352 GB, free: 9.18 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001538/0.3506, allocations: 0.7923 MB / 1.353 GB, free: 8.391 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0001025/0.3507, allocations: 39.78 kB / 1.353 GB, free: 8.352 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.3508, allocations: 4 kB / 1.353 GB, free: 8.348 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.3508, allocations: 7.875 kB / 1.353 GB, free: 8.34 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.3509, allocations: 11.88 kB / 1.353 GB, free: 8.328 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 3.986e-05/0.3509, allocations: 23.97 kB / 1.353 GB, free: 8.305 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.351, allocations: 55.84 kB / 1.353 GB, free: 8.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3512, allocations: 31.92 kB / 1.353 GB, free: 8.219 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.3512, allocations: 27.86 kB / 1.353 GB, free: 8.191 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.3513, allocations: 23.84 kB / 1.353 GB, free: 8.168 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3513, allocations: 11.94 kB / 1.353 GB, free: 8.156 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.3513, allocations: 4 kB / 1.353 GB, free: 8.152 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.3513, allocations: 19.92 kB / 1.353 GB, free: 8.133 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3513, allocations: 23.81 kB / 1.354 GB, free: 8.109 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3514, allocations: 83.84 kB / 1.354 GB, free: 8.027 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3514, allocations: 0 / 1.354 GB, free: 8.027 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3514, allocations: 0 / 1.354 GB, free: 8.027 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3515, allocations: 0 / 1.354 GB, free: 8.027 MB / 1.042 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.0003241/0.3518, allocations: 299.8 kB / 1.354 GB, free: 7.703 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3518, allocations: 12.92 kB / 1.354 GB, free: 7.691 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.3519, allocations: 42.73 kB / 1.354 GB, free: 7.641 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.3519, allocations: 20.84 kB / 1.354 GB, free: 7.621 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.352, allocations: 130.4 kB / 1.354 GB, free: 7.469 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.352, allocations: 8.375 kB / 1.354 GB, free: 7.461 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.352, allocations: 8.375 kB / 1.354 GB, free: 7.453 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3522, allocations: 95.89 kB / 1.354 GB, free: 7.348 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3522, allocations: 3.938 kB / 1.354 GB, free: 7.344 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3522, allocations: 0 / 1.354 GB, free: 7.344 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3522, allocations: 4 kB / 1.354 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.3523, allocations: 35.98 kB / 1.354 GB, free: 7.305 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.3528, allocations: 387.8 kB / 1.355 GB, free: 6.879 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.3528, allocations: 37.16 kB / 1.355 GB, free: 6.824 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.3529, allocations: 25.84 kB / 1.355 GB, free: 6.793 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.3529, allocations: 0 / 1.355 GB, free: 6.793 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3529, allocations: 42.56 kB / 1.355 GB, free: 6.742 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3529, allocations: 0 / 1.355 GB, free: 6.742 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.353, allocations: 57.53 kB / 1.355 GB, free: 6.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3531, allocations: 77.11 kB / 1.355 GB, free: 6.586 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3532, allocations: 160.9 kB / 1.355 GB, free: 6.418 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3532, allocations: 29.64 kB / 1.355 GB, free: 6.383 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3532, allocations: 108 kB / 1.355 GB, free: 6.273 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.3532, allocations: 20.19 kB / 1.355 GB, free: 6.254 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.3533, allocations: 13.72 kB / 1.355 GB, free: 6.234 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.3533, allocations: 318.8 kB / 1.355 GB, free: 5.914 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.3534, allocations: 8 kB / 1.355 GB, free: 5.906 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.3534, allocations: 17.66 kB / 1.355 GB, free: 5.883 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.3534, allocations: 37.64 kB / 1.355 GB, free: 5.84 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3534, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.477e-05/0.3535, allocations: 49.66 kB / 1.356 GB, free: 5.785 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3535, allocations: 12 kB / 1.356 GB, free: 5.773 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3535, allocations: 4 kB / 1.356 GB, free: 5.77 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3535, allocations: 0 / 1.356 GB, free: 5.77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.3536, allocations: 11.92 kB / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3536, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.3536, allocations: 4 kB / 1.356 GB, free: 5.754 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.3536, allocations: 0 / 1.356 GB, free: 5.754 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.521e-05/0.3536, allocations: 114.4 kB / 1.356 GB, free: 5.633 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.3537, allocations: 15.84 kB / 1.356 GB, free: 5.617 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.3537, allocations: 11.81 kB / 1.356 GB, free: 5.605 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3537, allocations: 7.984 kB / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3537, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3537, allocations: 4 kB / 1.356 GB, free: 5.594 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.3539, allocations: 437.8 kB / 1.356 GB, free: 5.109 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3539, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.354, allocations: 8 kB / 1.356 GB, free: 5.102 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.354, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.354, allocations: 0 / 1.356 GB, free: 5.102 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.354, allocations: 4 kB / 1.356 GB, free: 5.098 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.354, allocations: 4 kB / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.209e-05/0.354, allocations: 85.88 kB / 1.356 GB, free: 4.988 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.354, allocations: 7.953 kB / 1.356 GB, free: 4.98 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.354, allocations: 4 kB / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.3541, allocations: 0 / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.3541, allocations: 7.984 kB / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3541, allocations: 3.938 kB / 1.356 GB, free: 4.965 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.3541, allocations: 122.3 kB / 1.356 GB, free: 4.848 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.3541, allocations: 0 / 1.356 GB, free: 4.848 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000125/0.3543, allocations: 8 kB / 1.356 GB, free: 4.84 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.0002421/0.3545, allocations: 0.621 MB / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 7.135e-05/0.3546, allocations: 16 kB / 1.357 GB, free: 4.172 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3546, allocations: 0 / 1.357 GB, free: 4.172 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.3546, allocations: 7.938 kB / 1.357 GB, free: 4.164 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.3547, allocations: 8 kB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.3556, allocations: 1.326 MB / 1.358 GB, free: 2.73 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.3556, allocations: 79.61 kB / 1.358 GB, free: 2.633 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.3556, allocations: 12.41 kB / 1.358 GB, free: 2.621 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3557, allocations: 27.42 kB / 1.358 GB, free: 2.594 MB / 1.042 GB Notification: Performance of SimCode: time 3.41e-07/0.3557, allocations: 0 / 1.358 GB, free: 2.594 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/0.4391, allocations: 2.086 MB / 1.36 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.518, allocations: 6.797 kB / 1.36 GB, free: 0.6445 MB / 1.042 GB " [Timeout remaining time 292] (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.934981725178659]