Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004784/0.004785, allocations: 96.23 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 196.3 kB / 16.67 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 64.12 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7493, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002281/0.7516, allocations: 1.283 MB / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.753, allocations: 0.8326 MB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.753, allocations: 0 / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.7531, allocations: 3.938 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.7531, allocations: 4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.7536, allocations: 131.4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.7537, allocations: 27.86 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.7537, allocations: 3.984 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.7538, allocations: 11.94 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.7539, allocations: 11.98 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.7539, allocations: 0 / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.7542, allocations: 167.8 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.7543, allocations: 3.938 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.7543, allocations: 11.98 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.7546, allocations: 127.3 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7546, allocations: 0 / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7546, allocations: 0 / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.7546, allocations: 0 / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005105/0.7551, allocations: 367.1 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7552, allocations: 12.92 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.7552, allocations: 34.73 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.7552, allocations: 4.891 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7554, allocations: 164.4 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.7555, allocations: 30.27 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.7555, allocations: 8.375 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.7556, allocations: 49.98 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.7557, allocations: 3.984 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.7557, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7557, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.7558, allocations: 19.92 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.756, allocations: 157.7 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.7562, allocations: 46.56 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.7563, allocations: 16.86 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.7566, allocations: 174.3 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7566, allocations: 42.5 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.7567, allocations: 4 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000258/0.7569, allocations: 69.61 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.757, allocations: 51.41 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.757, allocations: 97.84 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7571, allocations: 29.64 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.7571, allocations: 80.14 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.7571, allocations: 11.91 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.7572, allocations: 17.72 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7573, allocations: 322.8 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.7574, allocations: 4 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.7575, allocations: 15.98 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.7576, allocations: 28.78 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7576, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.7577, allocations: 53.69 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7577, allocations: 11.94 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7578, allocations: 4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.7578, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.7578, allocations: 7.984 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.7579, allocations: 4 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.7579, allocations: 11.83 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.7579, allocations: 0.5156 kB / 1.171 GB, free: 14.98 MB / 0.9044 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 (4): * Single equations (assignments): 4 * 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.083e-05/0.758, allocations: 109.8 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.758, allocations: 3.938 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.7582, allocations: 81.09 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7582, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7582, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7582, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.7584, allocations: 153.7 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7584, allocations: 7.984 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.7584, allocations: 4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.7584, allocations: 7.938 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.7585, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7585, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7585, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.7586, allocations: 89 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.7587, allocations: 81.05 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.7587, allocations: 3.984 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.7588, allocations: 8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.7588, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.7589, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.7589, allocations: 79.28 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7589, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002389/0.7591, allocations: 39.86 kB / 1.171 GB, free: 14.2 MB / 0.9044 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 (4): * Single equations (assignments): 4 * 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.0005979/0.7598, allocations: 0.6696 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.7599, allocations: 27.92 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7599, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.76, allocations: 12 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.7602, allocations: 7.984 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.7606, allocations: 176.5 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.7609, allocations: 0.6768 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.761, allocations: 7.984 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.761, allocations: 11.42 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.761, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.7848, allocations: 1.941 MB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.679, allocations: 16.25 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches