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.001161/0.001161, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001028/0.001028, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9092/0.9092, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.27e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00149/0.001512, allocations: 0.7898 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.001625, allocations: 39.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.001675, allocations: 3.938 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.00172, allocations: 15.86 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.001801, allocations: 7.875 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.275e-05/0.001844, allocations: 23.97 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.001947, allocations: 63.78 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.00208, allocations: 27.97 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.00217, allocations: 39.91 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.002214, allocations: 15.91 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.002241, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.002248, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.002272, allocations: 19.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.002308, allocations: 19.92 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.002439, allocations: 71.69 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.002443, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002444, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.002449, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 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.0004213/0.00287, allocations: 298 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.002923, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.002965, allocations: 42.67 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.002994, allocations: 12.89 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.003191, allocations: 129.6 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.003204, allocations: 8.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.003216, allocations: 4.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.003371, allocations: 103.8 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003382, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.003396, allocations: 384 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.003404, allocations: 8.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.003476, allocations: 31.98 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.003953, allocations: 403.7 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.004013, allocations: 33.16 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.004048, allocations: 21.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.004058, allocations: 4.031 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.004081, allocations: 38.55 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004082, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.004233, allocations: 53.59 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.004281, allocations: 81.05 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.004398, allocations: 160.8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.004407, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.004465, allocations: 104 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/0.004474, allocations: 15.89 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.004499, allocations: 9.719 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.004583, allocations: 323.1 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.004597, allocations: 12 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.004618, allocations: 25.62 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.004657, allocations: 33.66 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.004659, allocations: 4 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.823e-05/0.004718, allocations: 49.66 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.004733, allocations: 5.406 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.004738, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.004752, allocations: 4.062 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.004814, allocations: 19.86 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.00482, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.00484, allocations: 11.89 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.004846, allocations: 4 kB / 1.003 GB, free: 10.05 MB / 0.9636 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 6.127e-05/0.004907, allocations: 109.8 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.00493, allocations: 11.95 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.004953, allocations: 11.8 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.004955, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.004961, allocations: 3.938 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.004965, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.005258, allocations: 437.9 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005259, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.005276, allocations: 7.938 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.005278, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.005286, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.005287, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005288, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.421e-05/0.005353, allocations: 82.66 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.005376, allocations: 15.84 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.005388, allocations: 4.094 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.005398, allocations: 0 / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.005413, allocations: 7.984 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.005415, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.005476, allocations: 125.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005476, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001221/0.005598, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 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.0002636/0.005861, allocations: 0.6093 MB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.941e-05/0.005931, allocations: 16.03 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.005933, allocations: 0 / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/0.00594, allocations: 15.88 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.006064, allocations: 10.17 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.007178, allocations: 1.34 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.007234, allocations: 79.56 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.007266, allocations: 12.48 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.007317, allocations: 32.42 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.007318, allocations: 0 / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.02442, allocations: 2.233 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.69, allocations: 6.438 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.922727457247674]