Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001865/0.001865, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003253/0.003253, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.336/3.336, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.002313/0.002313, allocations: 68.58 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4134, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003278/0.4166, allocations: 1.44 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.4172, allocations: 207.7 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.4172, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.4173, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.4173, allocations: 11.92 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.4175, allocations: 15.92 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.4176, allocations: 31.86 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.4177, allocations: 11.97 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.4177, allocations: 7.938 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.4178, allocations: 7.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.4178, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.4179, allocations: 23.98 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.4179, allocations: 11.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.4179, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.418, allocations: 51.81 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.418, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.418, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.418, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 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.0004456/0.4185, allocations: 266.3 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4185, allocations: 12.03 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.4186, allocations: 30.75 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4187, allocations: 4.938 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4188, allocations: 118.5 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.4188, allocations: 4.375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4188, allocations: 384 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.419, allocations: 54.17 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.419, allocations: 7.875 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.419, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.419, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.4192, allocations: 31.97 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.4196, allocations: 212.1 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.4197, allocations: 42.5 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.4198, allocations: 28.89 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.4198, allocations: 3.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4198, allocations: 30.56 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4198, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.4202, allocations: 89.69 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4202, allocations: 51.41 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.4203, allocations: 105.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4203, allocations: 25.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.4204, allocations: 84.12 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4204, allocations: 3.953 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.4205, allocations: 17.72 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4206, allocations: 310.8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.4207, allocations: 27.91 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.4208, allocations: 16.02 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4209, allocations: 36.83 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4209, allocations: 3.938 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.4211, allocations: 65.66 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4211, allocations: 8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4211, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4211, allocations: 4.094 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.4212, allocations: 15.98 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4212, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.4213, allocations: 7.984 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4213, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 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 8.034e-05/0.4214, allocations: 114.8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.4214, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.4217, allocations: 77.16 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4217, allocations: 8.016 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4217, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4217, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4218, allocations: 136.6 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4218, allocations: 7.984 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.4219, allocations: 4 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4219, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4219, allocations: 4 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4219, allocations: 0 / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4219, allocations: 4 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4222, allocations: 175.4 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.4222, allocations: 7.938 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4222, allocations: 0 / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.4223, allocations: 7.984 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.4223, allocations: 0 / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4223, allocations: 4 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.4224, allocations: 79.28 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002207/0.4226, allocations: 12 kB / 1.367 GB, free: 9.652 MB / 1.061 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.0005648/0.4232, allocations: 0.7044 MB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.4234, allocations: 39.95 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4234, allocations: 0 / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.4235, allocations: 19.98 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4238, allocations: 8.062 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.4242, allocations: 148.5 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.4243, allocations: 63.34 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.4243, allocations: 0 / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.4244, allocations: 7.438 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4244, allocations: 0 / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.4583, allocations: 1.901 MB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.65, allocations: 5.156 kB / 1.37 GB, free: 6.816 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.853659498970956]