Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001792/0.001792, allocations: 100.8 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.001957/0.001957, allocations: 210.4 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.315/3.315, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.002045/0.002045, allocations: 66.56 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3968, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002133/0.3989, allocations: 0.8257 MB / 1.349 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.399, allocations: 39.78 kB / 1.349 GB, free: 9.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.3991, allocations: 0 / 1.349 GB, free: 9.133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.3991, allocations: 15.86 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.774e-05/0.3992, allocations: 7.875 kB / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.017e-05/0.3993, allocations: 19.98 kB / 1.349 GB, free: 9.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3994, allocations: 55.84 kB / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3995, allocations: 39.91 kB / 1.349 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.3996, allocations: 23.81 kB / 1.349 GB, free: 8.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.3997, allocations: 39.83 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3997, allocations: 4 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.3997, allocations: 8 kB / 1.349 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.3997, allocations: 11.94 kB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.3998, allocations: 39.73 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3999, allocations: 79.8 kB / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3999, allocations: 0 / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3999, allocations: 0 / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3999, allocations: 4 kB / 1.349 GB, free: 8.789 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.0004903/0.4004, allocations: 388.8 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4005, allocations: 15.98 kB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.4005, allocations: 38.75 kB / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.4005, allocations: 16.88 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.4008, allocations: 192.2 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4008, allocations: 12.31 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4008, allocations: 4.375 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.401, allocations: 99.8 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.401, allocations: 7.938 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4011, allocations: 0 / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4011, allocations: 0 / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.4011, allocations: 43.91 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.4018, allocations: 428.8 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.4018, allocations: 49.17 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.4019, allocations: 21.84 kB / 1.35 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.4019, allocations: 0 / 1.35 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4019, allocations: 30.56 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4019, allocations: 0 / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.4021, allocations: 61.7 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.4022, allocations: 81.11 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.4024, allocations: 159.5 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4024, allocations: 25.7 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.4024, allocations: 104 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.4025, allocations: 7.953 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.4025, allocations: 13.72 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4026, allocations: 322.8 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.4027, allocations: 12 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.4027, allocations: 17.72 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.4027, allocations: 33.64 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4027, allocations: 0 / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.4028, allocations: 53.59 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4029, allocations: 11.94 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4029, allocations: 4.062 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4029, allocations: 0 / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.403, allocations: 7.984 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.403, allocations: 4 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.403, allocations: 3.953 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.403, allocations: 0 / 1.351 GB, free: 6.293 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.616e-05/0.4031, allocations: 113.8 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.4031, allocations: 11.89 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.4032, allocations: 11.88 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4032, allocations: 7.984 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4032, allocations: 4 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4032, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.4036, allocations: 478.7 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4036, allocations: 3.938 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.4036, allocations: 4 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4036, allocations: 0 / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4036, allocations: 4.062 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4036, allocations: 4 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4036, allocations: 3.938 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.4037, allocations: 77.88 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.4038, allocations: 93 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.4038, allocations: 4 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.4038, allocations: 4.031 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.4039, allocations: 3.984 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4039, allocations: 0 / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001127/0.404, allocations: 122.7 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.404, allocations: 0 / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001854/0.4042, allocations: 8 kB / 1.352 GB, free: 5.234 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.0005089/0.4047, allocations: 0.621 MB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.4048, allocations: 15.94 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4048, allocations: 3.938 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.4048, allocations: 4 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4049, allocations: 10.03 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4065, allocations: 1.331 MB / 1.354 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4068, allocations: 0.6924 MB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.4069, allocations: 8.422 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.4069, allocations: 23.42 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4069, allocations: 4 kB / 1.355 GB, free: 2.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.4328, allocations: 1.593 MB / 1.356 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.588, allocations: 8 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.684298526961356]