Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001876/0.001876, allocations: 103.6 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.001488/0.001488, allocations: 212.9 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.235/3.235, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_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.002089/0.002089, allocations: 69.66 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3836, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002446/0.386, allocations: 0.8318 MB / 1.322 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.3862, allocations: 47.78 kB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.3863, allocations: 0 / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.3863, allocations: 7.875 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.995e-05/0.3864, allocations: 7.875 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.46e-05/0.3865, allocations: 23.97 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3866, allocations: 59.84 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3868, allocations: 31.92 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.3869, allocations: 31.84 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.3869, allocations: 35.73 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.387, allocations: 8 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.387, allocations: 4 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.387, allocations: 15.98 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.387, allocations: 31.75 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.3872, allocations: 79.84 kB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3872, allocations: 0 / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3872, allocations: 0 / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3872, allocations: 0 / 1.322 GB, free: 2.125 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.0005214/0.3877, allocations: 387.1 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3878, allocations: 11.98 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.3878, allocations: 54.67 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.3879, allocations: 8.891 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3881, allocations: 188.3 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3881, allocations: 384 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3881, allocations: 12.38 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3883, allocations: 99.78 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3883, allocations: 7.938 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3883, allocations: 0 / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3883, allocations: 4 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.3884, allocations: 35.98 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.389, allocations: 432.7 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.3891, allocations: 45.2 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.3891, allocations: 17.77 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3892, allocations: 7.969 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3892, allocations: 38.56 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3892, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.3894, allocations: 65.64 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3894, allocations: 77.11 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3896, allocations: 160.5 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3896, allocations: 25.7 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3897, allocations: 108 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.3897, allocations: 7.953 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3898, allocations: 21.7 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3899, allocations: 314.8 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.3899, allocations: 8.031 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.39, allocations: 21.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.39, allocations: 25.66 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.39, allocations: 0 / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.004e-05/0.3901, allocations: 61.64 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3901, allocations: 7.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3901, allocations: 4.062 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3902, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.3902, allocations: 7.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3902, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.3903, allocations: 7.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.3903, allocations: 0 / 1.324 GB, free: 15.62 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.99e-05/0.3903, allocations: 113.8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3904, allocations: 11.89 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.3904, allocations: 15.86 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3904, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3905, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3905, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.3909, allocations: 466.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3909, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.3909, allocations: 4 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3909, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3909, allocations: 4.062 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3909, allocations: 8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3909, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.977e-05/0.391, allocations: 89.77 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.3911, allocations: 92.98 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3911, allocations: 3.938 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.3912, allocations: 4.031 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.3912, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.3912, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000108/0.3913, allocations: 129.2 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001864/0.3915, allocations: 8 kB / 1.325 GB, free: 14.57 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.0004717/0.3919, allocations: 0.6171 MB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.236e-05/0.392, allocations: 16 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.392, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.392, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3922, allocations: 8 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3935, allocations: 1.328 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3939, allocations: 0.6963 MB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.3939, allocations: 4.438 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3939, allocations: 23.42 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3939, allocations: 7.938 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.4192, allocations: 1.579 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.648, allocations: 7.031 kB / 1.329 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.712541089160368]