Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001328/0.001328, allocations: 105.2 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.001489/0.001489, allocations: 210.4 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.33/3.33, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002083/0.002083, allocations: 65.41 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00277/0.3753, allocations: 1.315 MB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.5618, allocations: 150.9 MB / 1.469 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.5619, allocations: 0 / 1.469 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.5619, allocations: 3.938 kB / 1.469 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.5619, allocations: 11.92 kB / 1.469 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.5625, allocations: 115.5 kB / 1.47 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.5626, allocations: 27.8 kB / 1.47 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.5626, allocations: 0 / 1.47 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.5627, allocations: 8 kB / 1.47 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.5627, allocations: 11.94 kB / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.5627, allocations: 0 / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.5632, allocations: 179.6 kB / 1.47 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.5632, allocations: 7.984 kB / 1.47 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.5632, allocations: 8 kB / 1.47 GB, free: 10.2 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.5635, allocations: 111.9 kB / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5635, allocations: 0 / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5635, allocations: 0 / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5635, allocations: 4 kB / 1.47 GB, free: 10.09 MB / 1.17 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.0004108/0.5639, allocations: 359.1 kB / 1.47 GB, free: 9.691 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.564, allocations: 15.98 kB / 1.47 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.564, allocations: 30.75 kB / 1.47 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.5646, allocations: 44.88 kB / 1.47 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.5648, allocations: 168.1 kB / 1.471 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5648, allocations: 0 / 1.471 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.5648, allocations: 4 kB / 1.471 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.565, allocations: 49.59 kB / 1.471 GB, free: 9.332 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.565, allocations: 0 / 1.471 GB, free: 9.332 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.565, allocations: 8 kB / 1.471 GB, free: 9.324 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.565, allocations: 0 / 1.471 GB, free: 9.324 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.5652, allocations: 11.98 kB / 1.471 GB, free: 9.312 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.5656, allocations: 260.9 kB / 1.471 GB, free: 9.008 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 6.61e-05/0.5656, allocations: 22.58 kB / 1.471 GB, free: 8.977 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.5657, allocations: 12.86 kB / 1.471 GB, free: 8.961 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5657, allocations: 0 / 1.471 GB, free: 8.961 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5657, allocations: 34.56 kB / 1.471 GB, free: 8.918 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 3.066e-06/0.5657, allocations: 4 kB / 1.471 GB, free: 8.914 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.5659, allocations: 41.69 kB / 1.471 GB, free: 8.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.566, allocations: 51.41 kB / 1.471 GB, free: 8.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.5661, allocations: 113.8 kB / 1.471 GB, free: 8.684 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5661, allocations: 33.64 kB / 1.471 GB, free: 8.645 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.5662, allocations: 84.09 kB / 1.471 GB, free: 8.559 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.5662, allocations: 3.938 kB / 1.471 GB, free: 8.555 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.5663, allocations: 29.77 kB / 1.471 GB, free: 8.52 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5664, allocations: 318.8 kB / 1.472 GB, free: 8.199 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.5665, allocations: 11.98 kB / 1.472 GB, free: 8.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.5666, allocations: 8.172 kB / 1.472 GB, free: 8.18 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/0.5667, allocations: 24.84 kB / 1.472 GB, free: 8.152 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5667, allocations: 0 / 1.472 GB, free: 8.152 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002309/0.5669, allocations: 61.66 kB / 1.472 GB, free: 8.086 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.5669, allocations: 10.19 kB / 1.472 GB, free: 8.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5669, allocations: 3.938 kB / 1.472 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5669, allocations: 0 / 1.472 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.5671, allocations: 7.984 kB / 1.472 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5671, allocations: 11.92 kB / 1.472 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.5672, allocations: 7.938 kB / 1.472 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.5672, allocations: 11.98 kB / 1.472 GB, free: 8.035 MB / 1.17 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 (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 prepare postOptimizeDAE: time 9.749e-05/0.5673, allocations: 109.8 kB / 1.472 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.5674, allocations: 0 / 1.472 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.5674, allocations: 3.125 kB / 1.472 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5674, allocations: 0 / 1.472 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5674, allocations: 0 / 1.472 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5674, allocations: 7.938 kB / 1.472 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.5676, allocations: 153.7 kB / 1.472 GB, free: 7.707 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5676, allocations: 0 / 1.472 GB, free: 7.707 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.5676, allocations: 4 kB / 1.472 GB, free: 7.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5676, allocations: 4 kB / 1.472 GB, free: 7.699 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5676, allocations: 0 / 1.472 GB, free: 7.699 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.5676, allocations: 7.984 kB / 1.472 GB, free: 7.691 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5676, allocations: 0 / 1.472 GB, free: 7.691 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.5678, allocations: 139.4 kB / 1.472 GB, free: 7.539 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.5678, allocations: 77.11 kB / 1.472 GB, free: 7.445 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.5679, allocations: 7.984 kB / 1.472 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.568, allocations: 8.031 kB / 1.472 GB, free: 7.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.568, allocations: 3.938 kB / 1.472 GB, free: 7.426 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.568, allocations: 0 / 1.472 GB, free: 7.426 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001038/0.5681, allocations: 87.27 kB / 1.472 GB, free: 7.34 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5681, allocations: 0 / 1.472 GB, free: 7.34 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002752/0.5684, allocations: 19.94 kB / 1.472 GB, free: 7.32 MB / 1.17 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.0005776/0.5689, allocations: 0.6774 MB / 1.473 GB, free: 6.617 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.5691, allocations: 27.86 kB / 1.473 GB, free: 6.59 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5691, allocations: 0 / 1.473 GB, free: 6.59 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.5691, allocations: 4 kB / 1.473 GB, free: 6.586 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.5695, allocations: 16.02 kB / 1.473 GB, free: 6.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.57, allocations: 148.7 kB / 1.473 GB, free: 6.387 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.5704, allocations: 0.6806 MB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.194e-05/0.5704, allocations: 8.375 kB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.5705, allocations: 11.44 kB / 1.474 GB, free: 5.66 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/0.5705, allocations: 0 / 1.474 GB, free: 5.66 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.5969, allocations: 1.605 MB / 1.475 GB, free: 4.172 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.553, allocations: 5.266 kB / 1.475 GB, free: 4.168 MB / 1.17 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.466735921101645]