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.001667/0.001667, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001992/0.001992, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.793 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.285/3.285, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002153/0.002153, allocations: 73.09 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00222/0.3923, allocations: 0.8015 MB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000158/0.3925, allocations: 39.78 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.3926, allocations: 0 / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.3926, allocations: 15.86 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3927, allocations: 15.86 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.127e-05/0.3928, allocations: 15.98 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3929, allocations: 63.84 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3931, allocations: 27.97 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.3931, allocations: 23.81 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.3932, allocations: 35.78 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3932, allocations: 4 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.3932, allocations: 8 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3933, allocations: 11.94 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3933, allocations: 27.86 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3935, allocations: 79.86 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3935, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3935, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3935, allocations: 3.938 kB / 1.365 GB, free: 12.89 MB / 1.061 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.0005239/0.394, allocations: 302 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.394, allocations: 16.03 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.3941, allocations: 34.75 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3941, allocations: 12.84 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3944, allocations: 138.3 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3944, allocations: 8.375 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3944, allocations: 4.375 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3946, allocations: 105.4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3946, allocations: 3.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3946, allocations: 4 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3946, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.3947, allocations: 39.86 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.3953, allocations: 399.8 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.3954, allocations: 33.31 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.3954, allocations: 21.72 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3954, allocations: 7.984 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3954, allocations: 30.56 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3955, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.3957, allocations: 61.73 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3957, allocations: 85.14 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3959, allocations: 156.5 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3959, allocations: 25.7 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.396, allocations: 112 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.396, allocations: 3.953 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.396, allocations: 17.72 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3962, allocations: 322.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3962, allocations: 4 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.3962, allocations: 17.72 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.3963, allocations: 29.66 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3963, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.3964, allocations: 65.58 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3964, allocations: 7.938 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3964, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3964, allocations: 4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.3965, allocations: 4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3965, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.3965, allocations: 4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3965, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 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 9.393e-05/0.3966, allocations: 126.9 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3967, allocations: 19.78 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3967, allocations: 11.81 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3967, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3967, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3967, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.3971, allocations: 437.9 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3971, allocations: 0 / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.3972, allocations: 3.984 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3972, allocations: 8.062 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.3972, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3972, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3972, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.3973, allocations: 81.83 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.3973, allocations: 15.94 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3973, allocations: 3.938 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.3973, allocations: 4 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.3973, allocations: 0 / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3973, allocations: 4 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3974, allocations: 120.7 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3974, allocations: 4 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001871/0.3976, allocations: 8 kB / 1.367 GB, free: 9.703 MB / 1.061 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.0004437/0.3981, allocations: 0.617 MB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.3982, allocations: 15.98 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3982, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.3982, allocations: 11.94 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3984, allocations: 8.281 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3997, allocations: 1.327 MB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.3998, allocations: 83.12 kB / 1.369 GB, free: 7.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.3998, allocations: 8.422 kB / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.3999, allocations: 23.44 kB / 1.369 GB, free: 7.461 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3999, allocations: 4 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.429, allocations: 2.09 MB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 17.97 kB / 1.371 GB, free: 5.48 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.919879032764584]