Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001942/0.001942, allocations: 103.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.002578/0.002578, 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.003429/0.003429, allocations: 67.91 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8612/0.8647, allocations: 169.9 MB / 1.278 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00227/0.8669, allocations: 0.8389 MB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.8671, allocations: 35.84 kB / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.8671, allocations: 0 / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.043e-05/0.8672, allocations: 11.86 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.8673, allocations: 11.88 kB / 1.279 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.484e-05/0.8673, allocations: 19.98 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.8674, allocations: 55.84 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.8676, allocations: 31.97 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.8676, allocations: 31.8 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.8677, allocations: 31.84 kB / 1.279 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.8677, allocations: 8 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.8678, allocations: 4 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.8678, allocations: 15.94 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.8678, allocations: 35.73 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.868, allocations: 77.41 kB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.868, allocations: 4 kB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.868, allocations: 0 / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.868, allocations: 0 / 1.279 GB, free: 12.14 MB / 0.9825 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.0004812/0.8685, allocations: 387.1 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.8685, allocations: 8.031 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.8685, allocations: 38.75 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.8686, allocations: 8.891 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.8688, allocations: 196.2 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.8688, allocations: 8.375 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.8688, allocations: 12.25 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.869, allocations: 91.86 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.869, allocations: 7.938 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.869, allocations: 0 / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.869, allocations: 4 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.8691, allocations: 39.92 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.8697, allocations: 440.7 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.8697, allocations: 49.25 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.8698, allocations: 17.78 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.8698, allocations: 0 / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8698, allocations: 34.56 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8698, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.87, allocations: 61.52 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.87, allocations: 77.11 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.8702, allocations: 161.3 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.8702, allocations: 25.7 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.8703, allocations: 100 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.8703, allocations: 15.94 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.8703, allocations: 13.72 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8705, allocations: 319.1 kB / 1.281 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.8705, allocations: 15.94 kB / 1.281 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.8705, allocations: 17.66 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.8706, allocations: 25.72 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8706, allocations: 0 / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.368e-05/0.8707, allocations: 61.58 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8707, allocations: 12 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8707, allocations: 0 / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8707, allocations: 4 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.8708, allocations: 4 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8708, allocations: 0 / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.8708, allocations: 11.89 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.8708, allocations: 0 / 1.282 GB, free: 9.641 MB / 0.9825 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.593e-05/0.8709, allocations: 118.4 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.8709, allocations: 11.89 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.871, allocations: 15.88 kB / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.871, allocations: 0 / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.871, allocations: 0 / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.871, allocations: 0 / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.8714, allocations: 470.8 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.8714, allocations: 0 / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.8715, allocations: 11.92 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8715, allocations: 0 / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.8715, allocations: 8.062 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8715, allocations: 3.938 kB / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8715, allocations: 0 / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.477e-05/0.8716, allocations: 73.98 kB / 1.282 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.8716, allocations: 101 kB / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.8716, allocations: 0 / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.8717, allocations: 4.031 kB / 1.282 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.8717, allocations: 4 kB / 1.282 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.8717, allocations: 4 kB / 1.282 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.897e-05/0.8718, allocations: 119.2 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8718, allocations: 0 / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001919/0.872, allocations: 8 kB / 1.283 GB, free: 8.59 MB / 0.9825 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.0004479/0.8724, allocations: 0.6171 MB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.8725, allocations: 23.92 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8725, allocations: 3.938 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.8725, allocations: 4 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.8727, allocations: 9.562 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.874, allocations: 1.323 MB / 1.284 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.8743, allocations: 0.6924 MB / 1.285 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.8744, allocations: 8.422 kB / 1.285 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.8744, allocations: 27.44 kB / 1.285 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8744, allocations: 0 / 1.285 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.8986, allocations: 1.595 MB / 1.287 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.942, allocations: 17.92 kB / 1.287 GB, free: 4.219 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 15.362634911201894]