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.001798/0.001798, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002313/0.002313, allocations: 217 kB / 22.25 MB, free: 5.082 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 8.004 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.329/3.329, allocations: 0.49 GB / 0.7951 GB, free: 33.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.001943/0.001943, allocations: 66.34 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3576, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002257/0.3599, allocations: 0.8328 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.36, allocations: 43.8 kB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.3601, allocations: 4 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.3602, allocations: 7.875 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.844e-05/0.3603, allocations: 15.84 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.344e-05/0.3603, allocations: 19.98 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3604, allocations: 59.84 kB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3606, allocations: 31.92 kB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.3607, allocations: 31.8 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.3608, allocations: 27.86 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3608, allocations: 8 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.3608, allocations: 8 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.3608, allocations: 15.92 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3609, allocations: 39.73 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.361, allocations: 71.86 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.361, allocations: 4 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.854e-06/0.361, allocations: 0 / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3611, allocations: 3.938 kB / 1.327 GB, free: 0.7227 MB / 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.0005033/0.3616, allocations: 306 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3616, allocations: 12.03 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.3616, allocations: 42.73 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.3617, allocations: 8.891 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3619, allocations: 126.4 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3619, allocations: 8.375 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.3619, allocations: 4.375 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3621, allocations: 102.1 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3621, allocations: 3.938 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3621, allocations: 7.969 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3621, allocations: 8 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.3622, allocations: 39.97 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.3628, allocations: 395.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.3628, allocations: 37.25 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.3629, allocations: 29.77 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.3629, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3629, allocations: 30.56 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3629, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001913/0.3631, allocations: 53.53 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.3632, allocations: 85.36 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3633, allocations: 160.2 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3634, allocations: 33.64 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3634, allocations: 104 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.3634, allocations: 7.953 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3635, allocations: 13.72 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3636, allocations: 318.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.3636, allocations: 8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.3637, allocations: 21.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.3637, allocations: 37.59 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3637, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.785e-05/0.3638, allocations: 57.58 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3638, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.3638, allocations: 8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3639, allocations: 4.062 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.3639, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3639, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.364, allocations: 7.953 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.364, allocations: 0 / 1.329 GB, free: 14.44 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 8.896e-05/0.3641, allocations: 114.4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3641, allocations: 11.89 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.3641, allocations: 15.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3641, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3641, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3641, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.3645, allocations: 445.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3645, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.3646, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3646, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3646, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3646, allocations: 64 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3646, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.064e-05/0.3647, allocations: 81.81 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.3647, allocations: 15.91 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3647, allocations: 7.984 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.3647, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.3647, allocations: 4.031 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.3647, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.194e-05/0.3648, allocations: 122.9 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3648, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001853/0.365, allocations: 8 kB / 1.33 GB, free: 13.52 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.0004314/0.3655, allocations: 0.6171 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.3655, allocations: 16 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3656, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.3656, allocations: 11.94 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3657, allocations: 1.375 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3671, allocations: 1.342 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3674, allocations: 0.6963 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.3675, allocations: 4.438 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.3675, allocations: 27.42 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3675, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3953, allocations: 1.697 MB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.33, allocations: 2.406 kB / 1.334 GB, free: 9.078 MB / 1.029 GB " [Timeout remaining time 289] (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.459555761000956]