Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001267/0.001267, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009851/0.0009851, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.882/0.882, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.422e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001434/0.001448, allocations: 1.29 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5643/0.5657, allocations: 129.7 MB / 1.128 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.5658, allocations: 0 / 1.128 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.5658, allocations: 0.75 kB / 1.128 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.5659, allocations: 5.906 kB / 1.128 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.5663, allocations: 122.1 kB / 1.128 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.5663, allocations: 26.44 kB / 1.128 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.5664, allocations: 2.172 kB / 1.128 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.5664, allocations: 12.2 kB / 1.128 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.5664, allocations: 3.984 kB / 1.128 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.5664, allocations: 1.125 kB / 1.128 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.5668, allocations: 168.7 kB / 1.128 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.5668, allocations: 1.25 kB / 1.128 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.5668, allocations: 11.78 kB / 1.128 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.567, allocations: 123.6 kB / 1.128 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.567, allocations: 0 / 1.128 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.567, allocations: 0 / 1.128 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.567, allocations: 1.062 kB / 1.128 GB, free: 2.766 MB / 0.9948 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.0002338/0.5672, allocations: 285 kB / 1.128 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5673, allocations: 11.8 kB / 1.128 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.105e-05/0.5673, allocations: 30.75 kB / 1.128 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.5677, allocations: 38.05 kB / 1.128 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.097e-05/0.5677, allocations: 108.7 kB / 1.128 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5678, allocations: 1.594 kB / 1.128 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.5678, allocations: 6.281 kB / 1.128 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5679, allocations: 51.81 kB / 1.129 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.5679, allocations: 0 / 1.129 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5679, allocations: 1.062 kB / 1.129 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5679, allocations: 0 / 1.129 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.568, allocations: 21.08 kB / 1.129 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.5683, allocations: 226.8 kB / 1.129 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.5683, allocations: 29.27 kB / 1.129 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.5683, allocations: 12.78 kB / 1.129 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.5683, allocations: 1.156 kB / 1.129 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.5683, allocations: 32.16 kB / 1.129 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5683, allocations: 0 / 1.129 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.5685, allocations: 46.09 kB / 1.129 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.5685, allocations: 57.03 kB / 1.129 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.5686, allocations: 117.5 kB / 1.129 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.5686, allocations: 25.7 kB / 1.129 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.5686, allocations: 90.39 kB / 1.129 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.5686, allocations: 6.109 kB / 1.129 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.5687, allocations: 20.45 kB / 1.129 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.708e-05/0.5687, allocations: 320.7 kB / 1.129 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.5687, allocations: 10.2 kB / 1.129 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.5687, allocations: 8.5 kB / 1.129 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.5688, allocations: 22.25 kB / 1.13 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5688, allocations: 1.25 kB / 1.13 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.5689, allocations: 64.28 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5689, allocations: 5.469 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5689, allocations: 1.312 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5689, allocations: 0 / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.569, allocations: 9.219 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.569, allocations: 1.5 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.5691, allocations: 19.38 kB / 1.13 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.5691, allocations: 2.219 kB / 1.13 GB, free: 1.203 MB / 0.9948 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 3.695e-05/0.5691, allocations: 116.7 kB / 1.13 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.5691, allocations: 5.078 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.5692, allocations: 5.5 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5692, allocations: 0 / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5692, allocations: 1.062 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5692, allocations: 0.5156 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.59e-05/0.5692, allocations: 126.5 kB / 1.13 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5692, allocations: 1.891 kB / 1.13 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.5693, allocations: 6.219 kB / 1.13 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5693, allocations: 1.984 kB / 1.13 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.5693, allocations: 0 / 1.13 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.5693, allocations: 0 / 1.13 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.5693, allocations: 1.094 kB / 1.13 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.265e-05/0.5693, allocations: 140 kB / 1.13 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.5693, allocations: 3.062 kB / 1.13 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5693, allocations: 0.7031 kB / 1.13 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.5694, allocations: 4.5 kB / 1.13 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.5694, allocations: 2.172 kB / 1.13 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.5694, allocations: 4.781 kB / 1.13 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.5694, allocations: 92.12 kB / 1.13 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5694, allocations: 0 / 1.13 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001708/0.5696, allocations: 15.8 kB / 1.13 GB, free: 0.6914 MB / 0.9948 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.0002134/0.5698, allocations: 0.6833 MB / 1.131 GB, free: 20 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.5699, allocations: 20.56 kB / 1.131 GB, free: 16 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5699, allocations: 5.125 kB / 1.131 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-06/0.5699, allocations: 4.016 kB / 1.131 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.5702, allocations: 10.89 kB / 1.131 GB, free: 8 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.5705, allocations: 149 kB / 1.131 GB, free: 15.85 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.5706, allocations: 59.39 kB / 1.131 GB, free: 15.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.5706, allocations: 11.39 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.5706, allocations: 16.67 kB / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of SimCode: time 2.71e-07/0.5706, allocations: 0 / 1.131 GB, free: 15.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5889, allocations: 2.288 MB / 1.133 GB, free: 14.88 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.642, allocations: 3.688 kB / 1.133 GB, free: 14.88 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.724811719730496]