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.001721/0.001721, allocations: 113.5 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.001797/0.001797, allocations: 216.4 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.388/3.388, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_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.002042/0.002042, allocations: 66.5 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003227/0.3899, allocations: 1.309 MB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2036/0.5936, allocations: 150.9 MB / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.5936, allocations: 0 / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.5936, allocations: 3.984 kB / 1.475 GB, free: 9.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.5937, allocations: 7.938 kB / 1.475 GB, free: 9.082 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.5941, allocations: 119.4 kB / 1.475 GB, free: 8.965 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.5942, allocations: 19.81 kB / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.5943, allocations: 7.984 kB / 1.475 GB, free: 8.938 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.5943, allocations: 8 kB / 1.475 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.5943, allocations: 7.984 kB / 1.476 GB, free: 8.922 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.5944, allocations: 0 / 1.476 GB, free: 8.922 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.5948, allocations: 179.6 kB / 1.476 GB, free: 8.746 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.5948, allocations: 0 / 1.476 GB, free: 8.746 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.5948, allocations: 4 kB / 1.476 GB, free: 8.742 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.5951, allocations: 131.8 kB / 1.476 GB, free: 8.613 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5951, allocations: 0 / 1.476 GB, free: 8.613 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5951, allocations: 3.938 kB / 1.476 GB, free: 8.609 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5951, allocations: 0 / 1.476 GB, free: 8.609 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.0003568/0.5954, allocations: 282 kB / 1.476 GB, free: 8.305 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5955, allocations: 12.03 kB / 1.476 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.5955, allocations: 4.172 kB / 1.476 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.5955, allocations: 34.73 kB / 1.476 GB, free: 8.246 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.5961, allocations: 40.89 kB / 1.476 GB, free: 8.207 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5962, allocations: 106.1 kB / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5962, allocations: 8 kB / 1.476 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.5963, allocations: 3.984 kB / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.5965, allocations: 45.66 kB / 1.476 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5965, allocations: 0 / 1.476 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5965, allocations: 7.938 kB / 1.476 GB, free: 8.008 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5965, allocations: 0 / 1.476 GB, free: 8.008 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5966, allocations: 19.98 kB / 1.476 GB, free: 7.988 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.597, allocations: 223.9 kB / 1.477 GB, free: 7.727 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.5971, allocations: 26.58 kB / 1.477 GB, free: 7.691 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.5971, allocations: 8.922 kB / 1.477 GB, free: 7.68 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.5971, allocations: 4 kB / 1.477 GB, free: 7.676 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5971, allocations: 34.5 kB / 1.477 GB, free: 7.633 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5971, allocations: 0 / 1.477 GB, free: 7.633 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.5973, allocations: 41.69 kB / 1.477 GB, free: 7.586 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5974, allocations: 55.41 kB / 1.477 GB, free: 7.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.5975, allocations: 113.9 kB / 1.477 GB, free: 7.398 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5975, allocations: 25.7 kB / 1.477 GB, free: 7.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.5976, allocations: 84.14 kB / 1.477 GB, free: 7.281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.5976, allocations: 15.88 kB / 1.477 GB, free: 7.266 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.5977, allocations: 17.7 kB / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5978, allocations: 314.8 kB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.5979, allocations: 7.984 kB / 1.477 GB, free: 6.918 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.5979, allocations: 15.98 kB / 1.477 GB, free: 6.902 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.598, allocations: 24.8 kB / 1.477 GB, free: 6.875 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.598, allocations: 0 / 1.477 GB, free: 6.875 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002137/0.5982, allocations: 65.61 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5983, allocations: 4 kB / 1.477 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5983, allocations: 0 / 1.477 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5983, allocations: 4 kB / 1.477 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5984, allocations: 15.92 kB / 1.477 GB, free: 6.781 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5984, allocations: 3.938 kB / 1.477 GB, free: 6.777 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.5985, allocations: 4 kB / 1.477 GB, free: 6.773 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.5985, allocations: 7.984 kB / 1.477 GB, free: 6.766 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 8.541e-05/0.5986, allocations: 110.4 kB / 1.478 GB, free: 6.648 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.5986, allocations: 7.938 kB / 1.478 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.5987, allocations: 11.25 kB / 1.478 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5987, allocations: 336 / 1.478 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5987, allocations: 3.938 kB / 1.478 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5987, allocations: 0 / 1.478 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.5988, allocations: 124.8 kB / 1.478 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5988, allocations: 0 / 1.478 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.5989, allocations: 7.984 kB / 1.478 GB, free: 6.453 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5989, allocations: 0 / 1.478 GB, free: 6.453 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5989, allocations: 0 / 1.478 GB, free: 6.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5989, allocations: 3.984 kB / 1.478 GB, free: 6.449 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5989, allocations: 3.938 kB / 1.478 GB, free: 6.445 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.599, allocations: 135.6 kB / 1.478 GB, free: 6.297 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.599, allocations: 3.953 kB / 1.478 GB, free: 6.293 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5991, allocations: 3.984 kB / 1.478 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.5991, allocations: 4 kB / 1.478 GB, free: 6.285 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.5992, allocations: 3.938 kB / 1.478 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.5992, allocations: 4 kB / 1.478 GB, free: 6.277 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001243/0.5993, allocations: 95.23 kB / 1.478 GB, free: 6.184 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5993, allocations: 0 / 1.478 GB, free: 6.184 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002628/0.5996, allocations: 15.94 kB / 1.478 GB, free: 6.168 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.0005379/0.6001, allocations: 0.6813 MB / 1.479 GB, free: 5.461 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.6003, allocations: 19.98 kB / 1.479 GB, free: 5.441 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6003, allocations: 0 / 1.479 GB, free: 5.441 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.6003, allocations: 7.938 kB / 1.479 GB, free: 5.434 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.6006, allocations: 11.92 kB / 1.479 GB, free: 5.422 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.6011, allocations: 149.2 kB / 1.479 GB, free: 5.234 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6014, allocations: 0.6768 MB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.6015, allocations: 15.88 kB / 1.479 GB, free: 4.516 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.6015, allocations: 11.44 kB / 1.479 GB, free: 4.504 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.6015, allocations: 0 / 1.479 GB, free: 4.504 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.6247, allocations: 1.738 MB / 1.481 GB, free: 2.914 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.74, allocations: 9.109 kB / 1.481 GB, free: 2.91 MB / 1.17 GB " [Timeout remaining time 288] (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: 19.026566939952318]