Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001979/0.001979, allocations: 102.7 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.002576/0.002576, 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.557/1.557, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.249/3.249, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.003021/0.003021, allocations: 68.73 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4698, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002155/0.472, allocations: 0.8353 MB / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.4721, allocations: 43.78 kB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.4721, allocations: 0 / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.4722, allocations: 7.875 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.4723, allocations: 23.84 kB / 1.349 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.615e-05/0.4723, allocations: 15.98 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4724, allocations: 63.84 kB / 1.349 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4726, allocations: 35.86 kB / 1.349 GB, free: 8.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.4726, allocations: 27.86 kB / 1.349 GB, free: 8.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.4727, allocations: 27.84 kB / 1.349 GB, free: 8.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.4727, allocations: 8 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.4727, allocations: 4 kB / 1.349 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.4728, allocations: 15.94 kB / 1.349 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.4728, allocations: 35.73 kB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.4729, allocations: 83.8 kB / 1.349 GB, free: 8.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4729, allocations: 0 / 1.349 GB, free: 8.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4729, allocations: 0 / 1.349 GB, free: 8.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.473, allocations: 0 / 1.349 GB, free: 8.781 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.0004773/0.4734, allocations: 387.1 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4735, allocations: 15.98 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.4735, allocations: 34.75 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.4735, allocations: 8.891 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.4738, allocations: 200.1 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4738, allocations: 12.38 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.4738, allocations: 8.375 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.474, allocations: 90.2 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.474, allocations: 7.938 kB / 1.35 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.474, allocations: 4 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.474, allocations: 0 / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.4741, allocations: 39.92 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.4746, allocations: 440.6 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.4747, allocations: 37.28 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.4747, allocations: 21.84 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.4748, allocations: 0 / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4748, allocations: 34.56 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4748, allocations: 0 / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.475, allocations: 57.52 kB / 1.35 GB, free: 7.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.475, allocations: 85.11 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4752, allocations: 160 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4752, allocations: 25.7 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.4753, allocations: 116.2 kB / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.4753, allocations: 3.953 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.4753, allocations: 17.72 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4755, allocations: 314.8 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.4755, allocations: 11.94 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.4755, allocations: 21.72 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.4756, allocations: 25.72 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4756, allocations: 0 / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.727e-05/0.4757, allocations: 57.58 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4757, allocations: 11.94 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4757, allocations: 0 / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4757, allocations: 96 / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.4758, allocations: 11.98 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4758, allocations: 4 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.4758, allocations: 7.953 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.4758, allocations: 4.062 kB / 1.351 GB, free: 6.281 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.403e-05/0.4759, allocations: 117.8 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.4759, allocations: 11.89 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.476, allocations: 7.875 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.476, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.476, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.476, allocations: 4 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.4764, allocations: 478.7 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4764, allocations: 0 / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.4764, allocations: 7.922 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4764, allocations: 4 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4764, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4764, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4764, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.175e-05/0.4765, allocations: 81.95 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.4766, allocations: 92.98 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4766, allocations: 0 / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.4766, allocations: 4 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.4767, allocations: 0 / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4767, allocations: 0 / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.803e-05/0.4768, allocations: 125 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4768, allocations: 3.938 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001928/0.4769, allocations: 16.03 kB / 1.352 GB, free: 5.227 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.0004532/0.4774, allocations: 0.6093 MB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.4775, allocations: 23.92 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4775, allocations: 4.156 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.4775, allocations: 8 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.0001586/0.4777, allocations: 9.547 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4791, allocations: 1.325 MB / 1.354 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4795, allocations: 0.6963 MB / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.4795, allocations: 8.422 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.4795, allocations: 27.38 kB / 1.355 GB, free: 2.363 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4795, allocations: 0 / 1.355 GB, free: 2.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.5038, allocations: 1.582 MB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.737, allocations: 5.266 kB / 1.356 GB, free: 0.8828 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_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_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.85118566500023]