Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.0016/0.0016, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001535/0.001535, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.789 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.385/3.385, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.002099/0.002099, allocations: 70.44 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002326/0.3696, allocations: 0.7869 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.3697, allocations: 43.78 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3698, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/0.3698, allocations: 15.86 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.588e-05/0.3699, allocations: 11.88 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.226e-05/0.37, allocations: 15.98 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3701, allocations: 63.84 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3703, allocations: 31.91 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.3703, allocations: 27.86 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.3704, allocations: 27.78 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3704, allocations: 8 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.3704, allocations: 4 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.3705, allocations: 15.94 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.3705, allocations: 31.8 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3706, allocations: 79.86 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3707, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3707, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3707, allocations: 0 / 1.365 GB, free: 12.94 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.0004861/0.3711, allocations: 302 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3712, allocations: 12.03 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.3712, allocations: 38.75 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3713, allocations: 12.84 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3715, allocations: 130.4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3715, allocations: 12.38 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3715, allocations: 8.359 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3717, allocations: 105.3 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3717, allocations: 3.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3717, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3717, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.3718, allocations: 31.98 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.3724, allocations: 399.7 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.3725, allocations: 33.16 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.3726, allocations: 25.84 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3726, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3726, allocations: 34.59 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3726, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.3728, allocations: 65.52 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3728, allocations: 77.11 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.373, allocations: 156.3 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.373, allocations: 25.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.3731, allocations: 108 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.3731, allocations: 16.19 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3732, allocations: 17.72 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3733, allocations: 318.8 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.3733, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.3734, allocations: 17.72 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.3734, allocations: 29.66 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3734, allocations: 3.938 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.44e-05/0.3735, allocations: 57.64 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3735, allocations: 12 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3735, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3735, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.3736, allocations: 7.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3736, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.3736, allocations: 4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3736, allocations: 0 / 1.367 GB, free: 10.67 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.553e-05/0.3737, allocations: 121.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3738, allocations: 15.84 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.3738, allocations: 11.81 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3738, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3738, allocations: 8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3738, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.3742, allocations: 433.9 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3742, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.3743, allocations: 7.984 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3743, allocations: 3.938 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3743, allocations: 4 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3743, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3743, allocations: 4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.3744, allocations: 81.89 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.3744, allocations: 15.94 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3744, allocations: 0 / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.3745, allocations: 0 / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.3745, allocations: 4 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3745, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001/0.3746, allocations: 120.1 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3746, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002658/0.3748, allocations: 12 kB / 1.367 GB, free: 9.754 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.0004404/0.3753, allocations: 0.6171 MB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.3754, allocations: 19.98 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3754, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.3754, allocations: 11.94 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.3755, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3769, allocations: 1.327 MB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.377, allocations: 91.34 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.377, allocations: 12.5 kB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3771, allocations: 23.44 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3771, allocations: 0 / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4063, allocations: 2.09 MB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 14.58 kB / 1.371 GB, free: 5.535 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_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_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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: 19.272395036183298]