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.001851/0.001851, 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.002157/0.002157, allocations: 210.5 kB / 22.24 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.785 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.526/3.526, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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="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: 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.002105/0.002105, allocations: 67.69 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3908, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002543/0.3934, allocations: 1.298 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.5793, allocations: 129.6 MB / 1.491 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.5794, allocations: 0 / 1.491 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.5794, allocations: 4 kB / 1.491 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.5795, allocations: 7.922 kB / 1.491 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.58, allocations: 127.4 kB / 1.491 GB, free: 10.57 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.58, allocations: 15.88 kB / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.5801, allocations: 3.984 kB / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.5801, allocations: 7.938 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 3.359e-05/0.5801, allocations: 4 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.5802, allocations: 0 / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.5806, allocations: 171.7 kB / 1.492 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.5806, allocations: 7.938 kB / 1.492 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.5806, allocations: 11.98 kB / 1.492 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.5809, allocations: 111.9 kB / 1.492 GB, free: 10.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5809, allocations: 7.938 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5809, allocations: 0 / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.5809, allocations: 0 / 1.492 GB, free: 10.23 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.0003979/0.5813, allocations: 278.1 kB / 1.492 GB, free: 9.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5814, allocations: 8.031 kB / 1.492 GB, free: 9.922 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.5814, allocations: 30.75 kB / 1.492 GB, free: 9.883 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.582, allocations: 44.84 kB / 1.492 GB, free: 9.84 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5821, allocations: 114.3 kB / 1.492 GB, free: 9.703 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5821, allocations: 0 / 1.492 GB, free: 9.703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5821, allocations: 0 / 1.492 GB, free: 9.703 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5823, allocations: 49.66 kB / 1.492 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5823, allocations: 0 / 1.492 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5823, allocations: 0 / 1.492 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5823, allocations: 3.938 kB / 1.492 GB, free: 9.645 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.5825, allocations: 27.91 kB / 1.492 GB, free: 9.617 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.5828, allocations: 224 kB / 1.492 GB, free: 9.355 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.5829, allocations: 22.58 kB / 1.492 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.5829, allocations: 8.922 kB / 1.492 GB, free: 9.312 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.5829, allocations: 0 / 1.492 GB, free: 9.312 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.583, allocations: 30.56 kB / 1.493 GB, free: 9.273 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.583, allocations: 4 kB / 1.493 GB, free: 9.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.5831, allocations: 45.62 kB / 1.493 GB, free: 9.219 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5832, allocations: 55.53 kB / 1.493 GB, free: 9.152 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5833, allocations: 117.7 kB / 1.493 GB, free: 9.027 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5833, allocations: 25.7 kB / 1.493 GB, free: 8.996 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.5834, allocations: 80.14 kB / 1.493 GB, free: 8.914 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.5834, allocations: 19.86 kB / 1.493 GB, free: 8.895 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.5834, allocations: 17.7 kB / 1.493 GB, free: 8.871 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5836, allocations: 318.8 kB / 1.493 GB, free: 8.551 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.5836, allocations: 7.984 kB / 1.493 GB, free: 8.543 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.5837, allocations: 15.98 kB / 1.493 GB, free: 8.527 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.5838, allocations: 24.8 kB / 1.493 GB, free: 8.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5838, allocations: 0 / 1.493 GB, free: 8.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/0.584, allocations: 61.66 kB / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.584, allocations: 4 kB / 1.493 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.584, allocations: 0 / 1.493 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.584, allocations: 0 / 1.493 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.5841, allocations: 15.98 kB / 1.493 GB, free: 8.414 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.5841, allocations: 0 / 1.493 GB, free: 8.414 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5843, allocations: 7.938 kB / 1.493 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5843, allocations: 7.984 kB / 1.493 GB, free: 8.398 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.094e-05/0.5844, allocations: 106.9 kB / 1.493 GB, free: 8.285 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.5844, allocations: 11.89 kB / 1.493 GB, free: 8.273 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.5844, allocations: 7.312 kB / 1.493 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5844, allocations: 0 / 1.493 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5844, allocations: 0 / 1.493 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5844, allocations: 7.938 kB / 1.493 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.5846, allocations: 124.8 kB / 1.494 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5846, allocations: 3.938 kB / 1.494 GB, free: 8.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.5846, allocations: 7.938 kB / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5846, allocations: 0 / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.5846, allocations: 336 / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5846, allocations: 0 / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5846, allocations: 0 / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5847, allocations: 139.5 kB / 1.494 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.5848, allocations: 3.984 kB / 1.494 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5848, allocations: 8.031 kB / 1.494 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.5849, allocations: 0 / 1.494 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.5849, allocations: 7.922 kB / 1.494 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.5849, allocations: 4 kB / 1.494 GB, free: 7.906 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.893e-05/0.585, allocations: 91.27 kB / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.585, allocations: 0 / 1.494 GB, free: 7.816 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002446/0.5852, allocations: 15.94 kB / 1.494 GB, free: 7.801 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.0004924/0.5857, allocations: 0.6812 MB / 1.494 GB, free: 7.094 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.5859, allocations: 19.97 kB / 1.495 GB, free: 7.074 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5859, allocations: 0 / 1.495 GB, free: 7.074 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.5859, allocations: 11.94 kB / 1.495 GB, free: 7.062 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.5862, allocations: 7.938 kB / 1.495 GB, free: 7.055 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.5867, allocations: 153.2 kB / 1.495 GB, free: 6.863 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.5868, allocations: 59.42 kB / 1.495 GB, free: 6.785 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.5869, allocations: 15.92 kB / 1.495 GB, free: 6.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.5869, allocations: 7.438 kB / 1.495 GB, free: 6.762 MB / 1.186 GB Notification: Performance of SimCode: time 3.81e-07/0.5869, allocations: 0 / 1.495 GB, free: 6.762 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.616, allocations: 2.16 MB / 1.497 GB, free: 4.742 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.91, allocations: 1.062 kB / 1.497 GB, free: 4.742 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.319387942086905]