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.001758/0.001758, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002473/0.002473, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.789 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.463/3.463, allocations: 0.4892 GB / 0.7944 GB, free: 35.66 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.002091/0.002091, allocations: 67.22 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003192/0.367, allocations: 1.314 MB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.5415, allocations: 129.6 MB / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.5416, allocations: 0 / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.5416, allocations: 0 / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.5416, allocations: 7.938 kB / 1.453 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.5421, allocations: 115.5 kB / 1.453 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.5421, allocations: 19.86 kB / 1.453 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.5422, allocations: 4 kB / 1.453 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.5422, allocations: 15.92 kB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.5422, allocations: 4 kB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.5422, allocations: 0 / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.5426, allocations: 167.7 kB / 1.453 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.5426, allocations: 4 kB / 1.453 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.5426, allocations: 7.938 kB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.5429, allocations: 119.9 kB / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5429, allocations: 0 / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5429, allocations: 0 / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5429, allocations: 0 / 1.453 GB, free: 14.43 MB / 1.154 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.0003433/0.5432, allocations: 279.9 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5433, allocations: 16.02 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.5433, allocations: 30.75 kB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005397/0.5438, allocations: 40.89 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5439, allocations: 110.2 kB / 1.454 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.544, allocations: 4 kB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.544, allocations: 4 kB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5441, allocations: 45.66 kB / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5441, allocations: 0 / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5441, allocations: 0 / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5441, allocations: 0 / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.5443, allocations: 27.97 kB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.5446, allocations: 216 kB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.5447, allocations: 34.5 kB / 1.454 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.5447, allocations: 12.73 kB / 1.454 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.5447, allocations: 4.062 kB / 1.454 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5447, allocations: 30.56 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.5447, allocations: 4 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.5449, allocations: 37.7 kB / 1.454 GB, free: 13.42 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.5449, allocations: 59.39 kB / 1.454 GB, free: 13.35 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5451, allocations: 113.7 kB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5451, allocations: 29.7 kB / 1.454 GB, free: 13.19 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.5451, allocations: 88.09 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.5452, allocations: 3.938 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.5452, allocations: 21.66 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5453, allocations: 318.8 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.5454, allocations: 12.12 kB / 1.455 GB, free: 12.74 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.5455, allocations: 8.172 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.5455, allocations: 28.92 kB / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5455, allocations: 0 / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001845/0.5457, allocations: 53.67 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5457, allocations: 8 kB / 1.455 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.5457, allocations: 7.938 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5458, allocations: 7.984 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.5459, allocations: 4 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5459, allocations: 4 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.546, allocations: 11.92 kB / 1.455 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.546, allocations: 0 / 1.455 GB, free: 12.6 MB / 1.154 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.604e-05/0.5461, allocations: 118.4 kB / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.5461, allocations: 0 / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.5461, allocations: 7.312 kB / 1.455 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5461, allocations: 0 / 1.455 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.5462, allocations: 0 / 1.455 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5462, allocations: 7.938 kB / 1.455 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.5463, allocations: 124.8 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5463, allocations: 0 / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.5463, allocations: 0 / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5463, allocations: 0 / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5463, allocations: 4 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5463, allocations: 0 / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5463, allocations: 3.938 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.5465, allocations: 143.4 kB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.5465, allocations: 7.984 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5465, allocations: 0 / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.5466, allocations: 4 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.5466, allocations: 7.938 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.5466, allocations: 3.938 kB / 1.455 GB, free: 12.11 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.915e-05/0.5467, allocations: 87.27 kB / 1.455 GB, free: 12.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5467, allocations: 0 / 1.455 GB, free: 12.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002442/0.547, allocations: 19.94 kB / 1.456 GB, free: 12 MB / 1.154 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.0004758/0.5474, allocations: 0.6813 MB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5476, allocations: 19.92 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5476, allocations: 4 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-06/0.5476, allocations: 0 / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.5479, allocations: 15.92 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.5483, allocations: 149.2 kB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.5484, allocations: 63.34 kB / 1.456 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.5484, allocations: 4.281 kB / 1.456 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.5485, allocations: 19.42 kB / 1.456 GB, free: 10.96 MB / 1.154 GB Notification: Performance of SimCode: time 4.11e-07/0.5485, allocations: 0 / 1.456 GB, free: 10.96 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.5848, allocations: 2.145 MB / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.91, allocations: 11.95 kB / 1.459 GB, free: 8.949 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.176278566010296]