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.0008411/0.0008411, allocations: 108.3 kB / 19.72 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.001616/0.001616, allocations: 219.8 kB / 23.03 MB, free: 2.953 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.9663/0.9663, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.919/1.919, allocations: 0.5045 GB / 0.8104 GB, free: 2.73 MB / 0.6511 GB " [Timeout remaining time 178] 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 0.001577/0.001577, allocations: 69.05 kB / 1.177 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3418, allocations: 180 MB / 1.352 GB, free: 9.18 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001783/0.3436, allocations: 0.7952 MB / 1.353 GB, free: 8.387 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.3437, allocations: 35.8 kB / 1.353 GB, free: 8.352 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.3438, allocations: 8 kB / 1.353 GB, free: 8.344 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.3438, allocations: 11.86 kB / 1.353 GB, free: 8.332 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.3439, allocations: 11.86 kB / 1.353 GB, free: 8.32 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 4.152e-05/0.3439, allocations: 19.98 kB / 1.353 GB, free: 8.301 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.653e-05/0.344, allocations: 59.84 kB / 1.353 GB, free: 8.238 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3442, allocations: 31.91 kB / 1.353 GB, free: 8.207 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.3442, allocations: 27.81 kB / 1.353 GB, free: 8.18 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.3443, allocations: 31.78 kB / 1.353 GB, free: 8.148 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3443, allocations: 4 kB / 1.353 GB, free: 8.145 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.3443, allocations: 8 kB / 1.353 GB, free: 8.137 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3443, allocations: 12 kB / 1.353 GB, free: 8.125 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.3443, allocations: 31.8 kB / 1.354 GB, free: 8.094 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3445, allocations: 79.8 kB / 1.354 GB, free: 8.016 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3445, allocations: 0 / 1.354 GB, free: 8.016 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3445, allocations: 0 / 1.354 GB, free: 8.016 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3445, allocations: 0 / 1.354 GB, free: 8.016 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.0003876/0.3449, allocations: 303.8 kB / 1.354 GB, free: 7.688 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3449, allocations: 8.922 kB / 1.354 GB, free: 7.68 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.3449, allocations: 46.75 kB / 1.354 GB, free: 7.625 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.345, allocations: 12.84 kB / 1.354 GB, free: 7.613 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3451, allocations: 138.3 kB / 1.354 GB, free: 7.453 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3452, allocations: 4.375 kB / 1.354 GB, free: 7.449 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3452, allocations: 12.38 kB / 1.354 GB, free: 7.438 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3453, allocations: 91.89 kB / 1.354 GB, free: 7.336 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3453, allocations: 3.938 kB / 1.354 GB, free: 7.332 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3453, allocations: 4 kB / 1.354 GB, free: 7.328 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3453, allocations: 0 / 1.354 GB, free: 7.328 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.3454, allocations: 43.86 kB / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.3458, allocations: 391.8 kB / 1.355 GB, free: 6.855 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.3459, allocations: 41.25 kB / 1.355 GB, free: 6.797 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.3459, allocations: 21.78 kB / 1.355 GB, free: 6.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.3459, allocations: 0 / 1.355 GB, free: 6.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3459, allocations: 34.56 kB / 1.355 GB, free: 6.727 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3459, allocations: 0 / 1.355 GB, free: 6.727 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.3461, allocations: 57.52 kB / 1.355 GB, free: 6.664 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.3461, allocations: 77.11 kB / 1.355 GB, free: 6.57 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3462, allocations: 161.3 kB / 1.355 GB, free: 6.402 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3462, allocations: 25.7 kB / 1.355 GB, free: 6.371 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.3463, allocations: 112.2 kB / 1.355 GB, free: 6.258 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.3463, allocations: 11.95 kB / 1.355 GB, free: 6.246 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3463, allocations: 13.72 kB / 1.355 GB, free: 6.227 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003748/0.3467, allocations: 318.8 kB / 1.355 GB, free: 5.906 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3467, allocations: 8 kB / 1.355 GB, free: 5.898 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.3467, allocations: 17.72 kB / 1.355 GB, free: 5.875 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.3468, allocations: 33.59 kB / 1.355 GB, free: 5.836 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3468, allocations: 0 / 1.355 GB, free: 5.836 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.168e-05/0.3469, allocations: 57.58 kB / 1.356 GB, free: 5.773 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3469, allocations: 16 kB / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3469, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3469, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.3469, allocations: 8 kB / 1.356 GB, free: 5.75 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.347, allocations: 3.984 kB / 1.356 GB, free: 5.746 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.347, allocations: 0 / 1.356 GB, free: 5.746 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.347, allocations: 8 kB / 1.356 GB, free: 5.738 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 6.415e-05/0.347, allocations: 110.4 kB / 1.356 GB, free: 5.621 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3471, allocations: 19.84 kB / 1.356 GB, free: 5.602 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3471, allocations: 3.812 kB / 1.356 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3471, allocations: 8 kB / 1.356 GB, free: 5.59 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3471, allocations: 96 / 1.356 GB, free: 5.59 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3471, allocations: 3.984 kB / 1.356 GB, free: 5.586 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3474, allocations: 445.8 kB / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3474, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.3474, allocations: 7.938 kB / 1.356 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3474, allocations: 0 / 1.356 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3474, allocations: 4 kB / 1.356 GB, free: 5.082 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3474, allocations: 4 kB / 1.356 GB, free: 5.078 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3474, allocations: 3.938 kB / 1.356 GB, free: 5.074 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.413e-05/0.3475, allocations: 81.94 kB / 1.356 GB, free: 4.973 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.3475, allocations: 11.95 kB / 1.356 GB, free: 4.961 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3475, allocations: 4 kB / 1.356 GB, free: 4.957 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-06/0.3475, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.3475, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3475, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.3476, allocations: 119.2 kB / 1.356 GB, free: 4.84 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.3476, allocations: 0 / 1.356 GB, free: 4.84 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001288/0.3477, allocations: 8 kB / 1.356 GB, free: 4.832 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.0002703/0.348, allocations: 0.6249 MB / 1.357 GB, free: 4.176 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.3481, allocations: 15.98 kB / 1.357 GB, free: 4.16 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3481, allocations: 3.938 kB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.3481, allocations: 4 kB / 1.357 GB, free: 4.152 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3482, allocations: 8 kB / 1.357 GB, free: 4.145 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3493, allocations: 1.334 MB / 1.358 GB, free: 2.707 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.3493, allocations: 79.61 kB / 1.358 GB, free: 2.609 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.3494, allocations: 12.41 kB / 1.358 GB, free: 2.598 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.3494, allocations: 23.44 kB / 1.358 GB, free: 2.574 MB / 1.042 GB Notification: Performance of SimCode: time 1.232e-06/0.3494, allocations: 0 / 1.358 GB, free: 2.574 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/0.4339, allocations: 2.09 MB / 1.36 GB, free: 0.6289 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.4, allocations: 10.05 kB / 1.36 GB, free: 0.625 MB / 1.042 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.796926175244153]