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.001662/0.001662, 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.002493/0.002493, allocations: 219.8 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.319/3.319, allocations: 0.5003 GB / 0.8061 GB, free: 26.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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002002/0.002002, allocations: 67.52 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4087, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002741/0.4114, allocations: 1.316 MB / 1.347 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5977, allocations: 151 MB / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.5977, allocations: 0 / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.5977, allocations: 3.984 kB / 1.494 GB, free: 7.613 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.5978, allocations: 7.922 kB / 1.494 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.5983, allocations: 127.4 kB / 1.494 GB, free: 7.48 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.5983, allocations: 19.81 kB / 1.494 GB, free: 7.461 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.5984, allocations: 0 / 1.494 GB, free: 7.461 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.5984, allocations: 8 kB / 1.494 GB, free: 7.453 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.5985, allocations: 7.984 kB / 1.494 GB, free: 7.445 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.5985, allocations: 4 kB / 1.494 GB, free: 7.441 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.5989, allocations: 175.7 kB / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.5989, allocations: 7.922 kB / 1.494 GB, free: 7.262 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.5989, allocations: 8 kB / 1.494 GB, free: 7.254 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.5992, allocations: 119.9 kB / 1.494 GB, free: 7.137 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5992, allocations: 0 / 1.494 GB, free: 7.137 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5992, allocations: 0 / 1.494 GB, free: 7.137 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5992, allocations: 0 / 1.494 GB, free: 7.137 MB / 1.186 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.0003879/0.5996, allocations: 278 kB / 1.495 GB, free: 6.836 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5996, allocations: 8.031 kB / 1.495 GB, free: 6.828 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.5996, allocations: 4.188 kB / 1.495 GB, free: 6.824 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.5997, allocations: 38.73 kB / 1.495 GB, free: 6.777 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.6002, allocations: 36.89 kB / 1.495 GB, free: 6.742 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6003, allocations: 118 kB / 1.495 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.6004, allocations: 0 / 1.495 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.6004, allocations: 0 / 1.495 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.6005, allocations: 53.59 kB / 1.495 GB, free: 6.543 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.6006, allocations: 8 kB / 1.495 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6006, allocations: 0 / 1.495 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6006, allocations: 0 / 1.495 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.6007, allocations: 19.91 kB / 1.495 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.6011, allocations: 224 kB / 1.495 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.6011, allocations: 22.58 kB / 1.495 GB, free: 6.223 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.6011, allocations: 12.92 kB / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.6012, allocations: 0 / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6012, allocations: 30.56 kB / 1.495 GB, free: 6.168 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.6012, allocations: 4 kB / 1.495 GB, free: 6.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.6014, allocations: 45.62 kB / 1.495 GB, free: 6.113 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6014, allocations: 51.41 kB / 1.495 GB, free: 6.051 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.6016, allocations: 117.9 kB / 1.496 GB, free: 5.926 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6016, allocations: 25.7 kB / 1.496 GB, free: 5.895 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6016, allocations: 84.09 kB / 1.496 GB, free: 5.809 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.6016, allocations: 15.88 kB / 1.496 GB, free: 5.793 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.6017, allocations: 17.7 kB / 1.496 GB, free: 5.77 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6018, allocations: 310.8 kB / 1.496 GB, free: 5.457 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.6019, allocations: 15.98 kB / 1.496 GB, free: 5.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.602, allocations: 16.17 kB / 1.496 GB, free: 5.426 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.602, allocations: 24.88 kB / 1.496 GB, free: 5.398 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.602, allocations: 0 / 1.496 GB, free: 5.398 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001926/0.6022, allocations: 61.66 kB / 1.496 GB, free: 5.332 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6023, allocations: 4 kB / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6023, allocations: 0 / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6023, allocations: 8 kB / 1.496 GB, free: 5.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.6024, allocations: 11.98 kB / 1.496 GB, free: 5.309 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6024, allocations: 7.875 kB / 1.496 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6025, allocations: 4 kB / 1.496 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.6025, allocations: 3.984 kB / 1.496 GB, free: 5.293 MB / 1.186 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 8.453e-05/0.6026, allocations: 109.8 kB / 1.496 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.6027, allocations: 0 / 1.496 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.6027, allocations: 11.31 kB / 1.496 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6027, allocations: 0 / 1.496 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.6027, allocations: 11.88 kB / 1.496 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6027, allocations: 0 / 1.496 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.6029, allocations: 124.8 kB / 1.496 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6029, allocations: 0 / 1.496 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.6029, allocations: 0 / 1.496 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.6029, allocations: 7.984 kB / 1.496 GB, free: 4.977 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.6029, allocations: 0 / 1.496 GB, free: 4.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6029, allocations: 3.938 kB / 1.496 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6029, allocations: 3.938 kB / 1.496 GB, free: 4.969 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.603, allocations: 135.5 kB / 1.496 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.603, allocations: 4 kB / 1.496 GB, free: 4.816 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6031, allocations: 3.984 kB / 1.496 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.6032, allocations: 0 / 1.496 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.6032, allocations: 7.938 kB / 1.496 GB, free: 4.805 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.6032, allocations: 0 / 1.496 GB, free: 4.805 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.482e-05/0.6033, allocations: 95.3 kB / 1.497 GB, free: 4.711 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6033, allocations: 0 / 1.497 GB, free: 4.711 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002527/0.6035, allocations: 19.88 kB / 1.497 GB, free: 4.691 MB / 1.186 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.00049/0.604, allocations: 0.6774 MB / 1.497 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.6042, allocations: 15.98 kB / 1.497 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6042, allocations: 0 / 1.497 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.6042, allocations: 7.938 kB / 1.497 GB, free: 3.965 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.6045, allocations: 15.92 kB / 1.497 GB, free: 3.949 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.605, allocations: 151.6 kB / 1.497 GB, free: 3.766 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6053, allocations: 0.6768 MB / 1.498 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.36e-05/0.6053, allocations: 4 kB / 1.498 GB, free: 3.059 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.6053, allocations: 15.66 kB / 1.498 GB, free: 3.047 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.6053, allocations: 0 / 1.498 GB, free: 3.047 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.6264, allocations: 1.744 MB / 1.5 GB, free: 1.449 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.77, allocations: 14.48 kB / 1.5 GB, free: 1.441 MB / 1.186 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.079849759000354]