Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001695/0.001695, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.002415/0.002415, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.22/3.22, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.002126/0.002126, allocations: 70.02 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3996, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003162/0.4027, allocations: 1.434 MB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.4033, allocations: 207.9 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.4034, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.4034, allocations: 3.938 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.4034, allocations: 7.922 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.4037, allocations: 35.84 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.4038, allocations: 23.92 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.4039, allocations: 4 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.404, allocations: 15.97 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.404, allocations: 11.94 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.404, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4041, allocations: 31.97 kB / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.4041, allocations: 4 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.4042, allocations: 7.938 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.4043, allocations: 44.09 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4043, allocations: 8 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4043, allocations: 3.938 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4043, allocations: 0 / 1.323 GB, free: 1.543 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005352/0.4049, allocations: 343.4 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4049, allocations: 11.98 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.4049, allocations: 30.75 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.4051, allocations: 4.938 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4053, allocations: 180.3 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4053, allocations: 4.375 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4053, allocations: 384 / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4055, allocations: 50.23 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4055, allocations: 7.922 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4055, allocations: 0 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4055, allocations: 0 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4057, allocations: 35.91 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.4061, allocations: 249 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4062, allocations: 38.5 kB / 1.323 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.4063, allocations: 16.91 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4063, allocations: 11.92 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4063, allocations: 34.56 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4063, allocations: 4 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004056/0.4068, allocations: 81.58 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4068, allocations: 51.41 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4069, allocations: 97.86 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4069, allocations: 25.7 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.407, allocations: 80.27 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4071, allocations: 20.17 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.4071, allocations: 13.66 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4073, allocations: 314.8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.4074, allocations: 15.98 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.4074, allocations: 11.98 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.4076, allocations: 48.81 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4076, allocations: 3.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.4078, allocations: 73.61 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4078, allocations: 4 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4079, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4079, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.408, allocations: 11.98 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.408, allocations: 32 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.408, allocations: 8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.408, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001036/0.4081, allocations: 109.8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4082, allocations: 7.984 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.4085, allocations: 76.72 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.4085, allocations: 4 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4085, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4085, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4087, allocations: 165.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4087, allocations: 4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.4088, allocations: 15.98 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4088, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4088, allocations: 4 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4088, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4088, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.409, allocations: 171.4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.4091, allocations: 81.06 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4091, allocations: 8.031 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.4092, allocations: 7.984 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4092, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4092, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.4093, allocations: 95.2 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4093, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000216/0.4095, allocations: 7.938 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0005649/0.4101, allocations: 0.6967 MB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.4103, allocations: 47.89 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4103, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.4104, allocations: 19.98 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4107, allocations: 6.422 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.4111, allocations: 148.3 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4114, allocations: 0.6807 MB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.4115, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.4115, allocations: 7.438 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4115, allocations: 3.938 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.4345, allocations: 1.384 MB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.523, allocations: 5.406 kB / 1.328 GB, free: 11.67 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.44376885285601]