Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001632/0.001632, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001974/0.001974, allocations: 222.7 kB / 22.25 MB, free: 5.254 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.42/3.42, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_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.002107/0.002107, allocations: 69.58 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3857, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002058/0.3878, allocations: 0.8055 MB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.3879, allocations: 43.72 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.3879, allocations: 0 / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.388, allocations: 7.875 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.3881, allocations: 11.94 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.583e-05/0.3881, allocations: 15.98 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3882, allocations: 67.83 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3884, allocations: 35.92 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.3884, allocations: 23.92 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3885, allocations: 27.8 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3885, allocations: 8 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.3885, allocations: 4 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.3885, allocations: 19.92 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.3886, allocations: 23.86 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.3887, allocations: 75.81 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3887, allocations: 3.984 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3887, allocations: 4 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3887, allocations: 0 / 1.327 GB, free: 376 kB / 1.014 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.0004393/0.3892, allocations: 303.7 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3892, allocations: 15.97 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/0.3893, allocations: 42.73 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3893, allocations: 8.891 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3895, allocations: 138.3 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3895, allocations: 8.281 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3895, allocations: 8.375 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3897, allocations: 87.95 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3897, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3897, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3897, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.3898, allocations: 39.92 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.3904, allocations: 383.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.3904, allocations: 41.28 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.3905, allocations: 21.84 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3905, allocations: 3.938 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3905, allocations: 34.56 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3905, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.3907, allocations: 65.5 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3907, allocations: 77.11 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3909, allocations: 164.2 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3909, allocations: 25.7 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.391, allocations: 104 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.391, allocations: 11.89 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.391, allocations: 17.72 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3912, allocations: 319.1 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.3912, allocations: 8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.3912, allocations: 17.72 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.3913, allocations: 33.7 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3913, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.055e-05/0.3914, allocations: 57.59 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3914, allocations: 7.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3914, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3914, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.3915, allocations: 12.05 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3915, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.3915, allocations: 7.953 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.3915, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 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.32e-05/0.3916, allocations: 119.6 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3917, allocations: 11.89 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.3917, allocations: 15.75 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3917, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3917, allocations: 7.984 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3917, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3921, allocations: 437.9 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.3921, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3922, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.3922, allocations: 85.83 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3923, allocations: 11.94 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3923, allocations: 96 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.3923, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.3923, allocations: 15.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3923, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3924, allocations: 121 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3924, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00019/0.3926, allocations: 8 kB / 1.33 GB, free: 13.17 MB / 1.029 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.000457/0.3931, allocations: 0.6093 MB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.282e-05/0.3932, allocations: 28.02 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3932, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.3932, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3933, allocations: 13.19 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3947, allocations: 1.33 MB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.3948, allocations: 83.12 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.3948, allocations: 12.61 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.3949, allocations: 31.36 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3949, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.4249, allocations: 2.122 MB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.66, allocations: 7.703 kB / 1.334 GB, free: 8.922 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.775934709992725]