Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001707/0.001707, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002215/0.002215, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.337/3.337, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",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.002661/0.002661, allocations: 72.47 kB / 1.155 GB, free: 25.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4361, allocations: 176.1 MB / 1.327 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003807/0.4399, allocations: 1.439 MB / 1.328 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.4414, allocations: 0.6115 MB / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.4415, allocations: 0 / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.4415, allocations: 0 / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.4416, allocations: 3.938 kB / 1.329 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.4421, allocations: 95.56 kB / 1.329 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.4422, allocations: 32.02 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.4423, allocations: 0 / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.4423, allocations: 15.98 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.4424, allocations: 11.83 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4424, allocations: 7.938 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.4428, allocations: 151.7 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.4429, allocations: 11.98 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.4429, allocations: 7.938 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.4432, allocations: 99.98 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4432, allocations: 4 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4432, allocations: 0 / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4432, allocations: 0 / 1.329 GB, free: 15.67 MB / 1.029 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.00058/0.4438, allocations: 298 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4438, allocations: 8.031 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.4438, allocations: 192 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.4439, allocations: 30.75 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.4445, allocations: 32.89 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4447, allocations: 114.5 kB / 1.33 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.4447, allocations: 4.375 kB / 1.33 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4447, allocations: 384 / 1.33 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.445, allocations: 69.95 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.445, allocations: 3.938 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4451, allocations: 0 / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4451, allocations: 4 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.4455, allocations: 55.88 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.4461, allocations: 244 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.4465, allocations: 62.53 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.4467, allocations: 28.89 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4467, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4467, allocations: 34.56 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4467, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007899/0.4475, allocations: 113.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4476, allocations: 55.41 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4477, allocations: 97.84 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4477, allocations: 25.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.4478, allocations: 88.27 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.4478, allocations: 7.953 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.4479, allocations: 17.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.448, allocations: 314.8 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4483, allocations: 23.97 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.4484, allocations: 27.97 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.4489, allocations: 64.75 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4489, allocations: 0 / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005/0.4494, allocations: 93.58 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4494, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4494, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4494, allocations: 3.938 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4496, allocations: 11.98 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4496, allocations: 4 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4497, allocations: 7.984 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4497, allocations: 0 / 1.331 GB, free: 13.56 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.0001225/0.4499, allocations: 126.3 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4499, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.45, allocations: 3.312 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.45, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.45, allocations: 3.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.45, allocations: 4.188 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.4502, allocations: 136.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4502, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4504, allocations: 19.91 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4504, allocations: 3.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4504, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4504, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4504, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.451, allocations: 187.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.451, allocations: 11.89 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.451, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4512, allocations: 7.984 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.4512, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4512, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.4513, allocations: 87.3 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4513, allocations: 0 / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000444/0.4518, allocations: 12 kB / 1.332 GB, free: 12.88 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 (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.00106/0.4528, allocations: 0.7304 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.4533, allocations: 55.94 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4533, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4535, allocations: 36.05 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4539, allocations: 9.141 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.4547, allocations: 168.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4551, allocations: 0.6729 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.866e-05/0.4552, allocations: 19.98 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.4553, allocations: 11.44 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4553, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.4787, allocations: 1.799 MB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.49, allocations: 3.938 kB / 1.335 GB, free: 9.441 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.65597363904817]