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.001275/0.001275, 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.001295/0.001295, 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.8586/0.8586, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.679/1.679, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.081e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001395/0.001406, allocations: 1.317 MB / 0.9822 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.578/0.5794, allocations: 129.6 MB / 1.109 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.5794, allocations: 3.938 kB / 1.109 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.5794, allocations: 0.6562 kB / 1.109 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.5795, allocations: 5.859 kB / 1.109 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.5799, allocations: 123.5 kB / 1.109 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.821e-05/0.58, allocations: 29.8 kB / 1.109 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.5801, allocations: 2.297 kB / 1.109 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.5801, allocations: 12.12 kB / 1.109 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.5801, allocations: 4.203 kB / 1.109 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.5802, allocations: 1.281 kB / 1.109 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.5805, allocations: 167.8 kB / 1.109 GB, free: 24.29 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.5805, allocations: 3.984 kB / 1.109 GB, free: 24.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.5805, allocations: 9.625 kB / 1.109 GB, free: 24.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.5808, allocations: 126.3 kB / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5808, allocations: 0 / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5808, allocations: 1.219 kB / 1.109 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5808, allocations: 0.6562 kB / 1.109 GB, free: 24.25 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.0002453/0.581, allocations: 274.7 kB / 1.11 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5811, allocations: 9.031 kB / 1.11 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.5811, allocations: 36.47 kB / 1.11 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.5815, allocations: 48.38 kB / 1.11 GB, free: 23.92 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.903e-05/0.5815, allocations: 109.3 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5815, allocations: 384 / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.5816, allocations: 5.531 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5817, allocations: 56.52 kB / 1.11 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5817, allocations: 0 / 1.11 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5817, allocations: 4.75 kB / 1.11 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5817, allocations: 1.438 kB / 1.11 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.5818, allocations: 20.42 kB / 1.11 GB, free: 23.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.582, allocations: 217.4 kB / 1.11 GB, free: 23.51 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.5821, allocations: 28.95 kB / 1.11 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.5821, allocations: 9.766 kB / 1.11 GB, free: 23.47 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.5821, allocations: 0 / 1.11 GB, free: 23.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.5821, allocations: 36.48 kB / 1.11 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.5821, allocations: 0 / 1.11 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.000125/0.5823, allocations: 47.88 kB / 1.11 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.5823, allocations: 55.34 kB / 1.11 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.5824, allocations: 113.6 kB / 1.11 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.5824, allocations: 26.31 kB / 1.11 GB, free: 23.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.5824, allocations: 86.41 kB / 1.11 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.5824, allocations: 5.953 kB / 1.11 GB, free: 23.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.5824, allocations: 21.56 kB / 1.11 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.809e-05/0.5825, allocations: 317 kB / 1.111 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.5825, allocations: 8.484 kB / 1.111 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.5825, allocations: 13.81 kB / 1.111 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.586e-05/0.5826, allocations: 22.31 kB / 1.111 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5826, allocations: 0 / 1.111 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/0.5827, allocations: 61.2 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5827, allocations: 5.844 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5827, allocations: 0.7031 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5827, allocations: 1.406 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.5828, allocations: 12.53 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5828, allocations: 1.719 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.5829, allocations: 11.72 kB / 1.111 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5829, allocations: 2.516 kB / 1.111 GB, free: 22.7 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.607e-05/0.5829, allocations: 119.6 kB / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.5829, allocations: 1.094 kB / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.5829, allocations: 5.078 kB / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5829, allocations: 1.094 kB / 1.111 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5829, allocations: 4.703 kB / 1.111 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5829, allocations: 0 / 1.111 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.402e-05/0.583, allocations: 132.3 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.583, allocations: 1.953 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.583, allocations: 2.391 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.583, allocations: 1.531 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.583, allocations: 0 / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.583, allocations: 1.125 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.583, allocations: 1.672 kB / 1.111 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.296e-05/0.5831, allocations: 144 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.5831, allocations: 6.812 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.5831, allocations: 1.984 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.5832, allocations: 1.797 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.5832, allocations: 2.547 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.5832, allocations: 1.281 kB / 1.111 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.5832, allocations: 91.12 kB / 1.111 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5832, allocations: 0 / 1.111 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001677/0.5834, allocations: 12.83 kB / 1.111 GB, free: 22.17 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.0002154/0.5836, allocations: 0.6903 MB / 1.112 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.284e-05/0.5837, allocations: 17.22 kB / 1.112 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.5837, allocations: 0 / 1.112 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.5837, allocations: 3.859 kB / 1.112 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5839, allocations: 16.36 kB / 1.112 GB, free: 21.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.5842, allocations: 157.8 kB / 1.112 GB, free: 21.33 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.5843, allocations: 58.19 kB / 1.112 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.5843, allocations: 11.12 kB / 1.112 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.5843, allocations: 12.03 kB / 1.112 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.5843, allocations: 3.938 kB / 1.112 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5994, allocations: 2.283 MB / 1.115 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.519, allocations: 6.797 kB / 1.115 GB, free: 20.35 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.530963433906436]