Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001452/0.001452, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.885/2.885, allocations: 476.7 MB / 0.7672 GB, free: 5.375 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.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_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.002075/0.002075, allocations: 71.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002349/1.059, allocations: 0.8372 MB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001213/1.059, allocations: 43.84 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/1.059, allocations: 0 / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/1.059, allocations: 11.86 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/1.06, allocations: 7.875 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.524e-05/1.06, allocations: 19.98 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/1.06, allocations: 59.84 kB / 1.279 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/1.06, allocations: 35.95 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/1.06, allocations: 31.81 kB / 1.279 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/1.06, allocations: 27.84 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/1.06, allocations: 8 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/1.06, allocations: 4 kB / 1.279 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/1.06, allocations: 15.94 kB / 1.279 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/1.06, allocations: 35.73 kB / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/1.06, allocations: 77.41 kB / 1.279 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.06, allocations: 0 / 1.279 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/1.06, allocations: 0 / 1.279 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.06, allocations: 0 / 1.279 GB, free: 12.17 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.0005509/1.061, allocations: 391.1 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.061, allocations: 8.031 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/1.061, allocations: 42.73 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/1.061, allocations: 8.891 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.061, allocations: 192.2 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/1.061, allocations: 8.312 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.061, allocations: 8.375 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/1.061, allocations: 97.89 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.062, allocations: 3.938 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.062, allocations: 3.938 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.062, allocations: 7.984 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/1.062, allocations: 39.92 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/1.062, allocations: 432.7 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/1.062, allocations: 49.25 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/1.062, allocations: 13.78 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/1.062, allocations: 0 / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.062, allocations: 42.55 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.062, allocations: 4 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/1.063, allocations: 53.53 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.063, allocations: 77.11 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/1.063, allocations: 161.3 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.063, allocations: 25.7 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/1.063, allocations: 104 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/1.063, allocations: 11.89 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/1.063, allocations: 17.97 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.063, allocations: 322.8 kB / 1.281 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/1.063, allocations: 4 kB / 1.281 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/1.063, allocations: 21.66 kB / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/1.063, allocations: 25.7 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.063, allocations: 0 / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.958e-05/1.063, allocations: 65.59 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.063, allocations: 7.938 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.063, allocations: 0 / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.063, allocations: 4 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/1.063, allocations: 11.98 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.063, allocations: 0 / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/1.063, allocations: 11.89 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/1.063, allocations: 0 / 1.282 GB, free: 9.664 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 9.315e-05/1.063, allocations: 113.8 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/1.063, allocations: 15.95 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/1.064, allocations: 11.88 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.064, allocations: 3.984 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.064, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.064, allocations: 96 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/1.064, allocations: 470.8 kB / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.064, allocations: 0 / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/1.064, allocations: 8.062 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.064, allocations: 0 / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/1.064, allocations: 7.938 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.064, allocations: 3.938 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.064, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/1.064, allocations: 81.88 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/1.064, allocations: 89.02 kB / 1.282 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.064, allocations: 4.031 kB / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/1.064, allocations: 0 / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/1.064, allocations: 11.98 kB / 1.282 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/1.064, allocations: 0 / 1.282 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001116/1.064, allocations: 121.5 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.064, allocations: 0 / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001902/1.065, allocations: 11.94 kB / 1.283 GB, free: 8.613 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.0004805/1.065, allocations: 0.6176 MB / 1.283 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/1.065, allocations: 19.94 kB / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.065, allocations: 0 / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/1.065, allocations: 4 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/1.065, allocations: 8.281 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.067, allocations: 1.321 MB / 1.284 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/1.067, allocations: 0.6967 MB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.418e-05/1.067, allocations: 8.438 kB / 1.285 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/1.067, allocations: 23.42 kB / 1.285 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.067, allocations: 0 / 1.285 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/1.092, allocations: 1.587 MB / 1.287 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/9.338, allocations: 16.61 kB / 1.287 GB, free: 4.254 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.749788905959576]