Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001925/0.001925, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002224/0.002224, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.277/3.277, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 65.47 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.376, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002279/0.3783, allocations: 0.8353 MB / 1.349 GB, free: 9.156 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.3784, allocations: 39.78 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.3785, allocations: 4 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.3785, allocations: 7.875 kB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.3786, allocations: 11.92 kB / 1.349 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.446e-05/0.3786, allocations: 15.98 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3788, allocations: 67.78 kB / 1.349 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3789, allocations: 32.75 kB / 1.349 GB, free: 8.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.379, allocations: 27.86 kB / 1.349 GB, free: 8.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.379, allocations: 31.86 kB / 1.349 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3791, allocations: 4 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.3791, allocations: 8 kB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.3791, allocations: 15.92 kB / 1.349 GB, free: 8.895 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.3791, allocations: 35.69 kB / 1.349 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3793, allocations: 79.84 kB / 1.349 GB, free: 8.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3793, allocations: 4 kB / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3793, allocations: 0 / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3793, allocations: 0 / 1.349 GB, free: 8.777 MB / 1.045 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.0004643/0.3798, allocations: 383.1 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3798, allocations: 15.98 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.3798, allocations: 42.73 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.3799, allocations: 12.89 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3801, allocations: 200.1 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3801, allocations: 4.375 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3801, allocations: 8.375 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3803, allocations: 93.73 kB / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3803, allocations: 7.938 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3803, allocations: 4 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3803, allocations: 0 / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.3804, allocations: 43.86 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.381, allocations: 432.6 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.381, allocations: 45.27 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3811, allocations: 21.84 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3811, allocations: 0 / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3811, allocations: 30.56 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3811, allocations: 0 / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.3813, allocations: 69.73 kB / 1.35 GB, free: 7.191 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3814, allocations: 85.03 kB / 1.35 GB, free: 7.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3815, allocations: 152.3 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3815, allocations: 25.7 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.3816, allocations: 108 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/0.3816, allocations: 3.953 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.3817, allocations: 21.7 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3818, allocations: 318.8 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.3818, allocations: 8.016 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.3819, allocations: 25.66 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.3819, allocations: 21.72 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3819, allocations: 0 / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.141e-05/0.382, allocations: 61.58 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.382, allocations: 11.94 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.382, allocations: 4.062 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.382, allocations: 0 / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.3821, allocations: 4 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.3821, allocations: 4 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3821, allocations: 3.953 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3821, allocations: 4 kB / 1.351 GB, free: 6.277 MB / 1.045 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.935e-05/0.3822, allocations: 113.8 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3823, allocations: 11.89 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3823, allocations: 15.86 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3823, allocations: 4 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3823, allocations: 4 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3823, allocations: 0 / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3827, allocations: 470.7 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3827, allocations: 0 / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.3828, allocations: 4 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3828, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.3828, allocations: 4.062 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3828, allocations: 7.984 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3828, allocations: 0 / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.767e-05/0.3829, allocations: 81.89 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3829, allocations: 92.92 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3829, allocations: 4 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.383, allocations: 7.969 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.383, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.383, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001425/0.3831, allocations: 125.1 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000363/0.3835, allocations: 8 kB / 1.352 GB, free: 5.223 MB / 1.045 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.0005323/0.384, allocations: 0.6171 MB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.3841, allocations: 15.94 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3841, allocations: 0 / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.3841, allocations: 7.938 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3843, allocations: 11.98 kB / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3857, allocations: 1.33 MB / 1.354 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3861, allocations: 0.6924 MB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.3861, allocations: 8.422 kB / 1.355 GB, free: 2.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.3861, allocations: 31.38 kB / 1.355 GB, free: 2.355 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3861, allocations: 0 / 1.355 GB, free: 2.355 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.4104, allocations: 1.585 MB / 1.356 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.645, allocations: 5.359 kB / 1.356 GB, free: 0.8789 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.78429220803082]