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.0008317/0.0008317, 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.0008493/0.0008493, 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.9204/0.9204, 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.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.68 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.422e-06/1.422e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.803e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001508/0.001526, allocations: 1.298 MB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5369/0.5384, allocations: 129.7 MB / 1.128 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.5385, allocations: 3.938 kB / 1.128 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.5385, allocations: 0 / 1.128 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.5385, allocations: 6.344 kB / 1.128 GB, free: 2.895 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.5391, allocations: 113.5 kB / 1.128 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.5392, allocations: 38.5 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.5392, allocations: 1.734 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.5393, allocations: 8.344 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.5393, allocations: 4.531 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.5393, allocations: 1.281 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.5397, allocations: 167.5 kB / 1.128 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.5398, allocations: 9.891 kB / 1.128 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.5398, allocations: 3.406 kB / 1.128 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.54, allocations: 123.4 kB / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.54, allocations: 1.094 kB / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.54, allocations: 0 / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.54, allocations: 4 kB / 1.128 GB, free: 2.73 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.0002707/0.5403, allocations: 282.2 kB / 1.128 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5403, allocations: 10.28 kB / 1.128 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.5404, allocations: 32.45 kB / 1.128 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.5408, allocations: 37.45 kB / 1.128 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.5408, allocations: 108.8 kB / 1.128 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5408, allocations: 9.5 kB / 1.128 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.5409, allocations: 1.656 kB / 1.128 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.541, allocations: 48.25 kB / 1.129 GB, free: 2.238 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.541, allocations: 0 / 1.129 GB, free: 2.238 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.541, allocations: 0 / 1.129 GB, free: 2.238 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.541, allocations: 1.938 kB / 1.129 GB, free: 2.238 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.5411, allocations: 20.02 kB / 1.129 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.5413, allocations: 226.8 kB / 1.129 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.5414, allocations: 29.64 kB / 1.129 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.5414, allocations: 8.797 kB / 1.129 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.5414, allocations: 0.6094 kB / 1.129 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.5414, allocations: 31.69 kB / 1.129 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.5414, allocations: 1.156 kB / 1.129 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.5416, allocations: 41.44 kB / 1.129 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.5416, allocations: 60.5 kB / 1.129 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.5417, allocations: 119.1 kB / 1.129 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-06/0.5417, allocations: 25.7 kB / 1.129 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.5417, allocations: 84.14 kB / 1.129 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.5417, allocations: 6.141 kB / 1.129 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5418, allocations: 22.52 kB / 1.129 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.687e-05/0.5418, allocations: 320.8 kB / 1.129 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.5418, allocations: 9.328 kB / 1.129 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.5419, allocations: 9.719 kB / 1.129 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.5419, allocations: 30.25 kB / 1.13 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5419, allocations: 0 / 1.13 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.542, allocations: 60.31 kB / 1.13 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5421, allocations: 9.438 kB / 1.13 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5421, allocations: 1.125 kB / 1.13 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5421, allocations: 0.7969 kB / 1.13 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.5421, allocations: 9.359 kB / 1.13 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5422, allocations: 0 / 1.13 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.5422, allocations: 16.19 kB / 1.13 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5422, allocations: 3.391 kB / 1.13 GB, free: 1.176 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.965e-05/0.5423, allocations: 115.7 kB / 1.13 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.5423, allocations: 5.016 kB / 1.13 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.5423, allocations: 4.969 kB / 1.13 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5423, allocations: 1.094 kB / 1.13 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5423, allocations: 0.6094 kB / 1.13 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5423, allocations: 0 / 1.13 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.566e-05/0.5424, allocations: 135.3 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5424, allocations: 0.5625 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.5424, allocations: 3.5 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5424, allocations: 1.281 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.5424, allocations: 0 / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.5424, allocations: 1.188 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5424, allocations: 0.7969 kB / 1.13 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.5425, allocations: 139.6 kB / 1.13 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.5425, allocations: 2.75 kB / 1.13 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.5425, allocations: 1.688 kB / 1.13 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.5426, allocations: 7.672 kB / 1.13 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.5426, allocations: 2.594 kB / 1.13 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.5426, allocations: 0 / 1.13 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.5426, allocations: 92 kB / 1.13 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5426, allocations: 0 / 1.13 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001856/0.5428, allocations: 15.84 kB / 1.13 GB, free: 0.6602 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.0002727/0.5431, allocations: 0.6837 MB / 1.131 GB, free: 15.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.5432, allocations: 25.05 kB / 1.131 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5432, allocations: 1.125 kB / 1.131 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.5432, allocations: 3.406 kB / 1.131 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5435, allocations: 12.19 kB / 1.131 GB, free: 15.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.5439, allocations: 152.8 kB / 1.131 GB, free: 15.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.5439, allocations: 58.97 kB / 1.131 GB, free: 15.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.491e-05/0.544, allocations: 8.172 kB / 1.131 GB, free: 15.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.544, allocations: 15.52 kB / 1.131 GB, free: 15.74 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.544, allocations: 0 / 1.131 GB, free: 15.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5624, allocations: 2.281 MB / 1.133 GB, free: 14.85 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.741, allocations: 11.66 kB / 1.133 GB, free: 14.84 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.860014470294118]