Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_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.007612/0.007612, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.002078/0.002078, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.11 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7515, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002269/0.7538, allocations: 1.271 MB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.7552, allocations: 0.8372 MB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.67e-05/0.7552, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.7553, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.7553, allocations: 3.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.7558, allocations: 131.4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.7559, allocations: 23.88 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.7559, allocations: 11.97 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.756, allocations: 11.94 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.756, allocations: 11.98 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.7561, allocations: 4 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.7564, allocations: 163.7 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.7564, allocations: 3.938 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.7565, allocations: 8 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.7567, allocations: 123.3 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7567, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7567, allocations: 4 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7567, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 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.0004673/0.7572, allocations: 371.1 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7573, allocations: 12.03 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.7573, allocations: 30.75 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.7573, allocations: 8.891 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.7575, allocations: 164.4 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.7576, allocations: 34.2 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.7576, allocations: 4.375 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.7577, allocations: 49.98 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7577, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.7577, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7578, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.7579, allocations: 11.98 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.758, allocations: 157.7 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.7583, allocations: 46.55 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.7583, allocations: 24.94 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.7586, allocations: 182.2 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.7587, allocations: 38.5 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.7587, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.759, allocations: 65.67 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.759, allocations: 51.41 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.7591, allocations: 101.8 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.7591, allocations: 25.7 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.7592, allocations: 80.14 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.7592, allocations: 19.84 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.7592, allocations: 13.72 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7594, allocations: 314.8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.7594, allocations: 7.984 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.7595, allocations: 19.98 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.7596, allocations: 20.86 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7596, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001533/0.7598, allocations: 69.56 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7598, allocations: 7.938 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7598, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7598, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.7599, allocations: 11.94 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7599, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.7599, allocations: 15.86 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.76, allocations: 4.516 kB / 1.225 GB, free: 13.25 MB / 0.9512 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.003e-05/0.76, allocations: 105.8 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.7601, allocations: 3.938 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.7603, allocations: 73.16 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7603, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7603, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7603, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.7604, allocations: 161.7 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7604, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.7605, allocations: 11.92 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.7605, allocations: 7.938 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.7605, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7605, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7605, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.7607, allocations: 85.06 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.7608, allocations: 85.05 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.7608, allocations: 4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.7609, allocations: 4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.7609, allocations: 7.984 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7609, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.761, allocations: 79.28 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.761, allocations: 0 / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002435/0.7612, allocations: 35.86 kB / 1.225 GB, free: 12.5 MB / 0.9512 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.0005984/0.7618, allocations: 0.6635 MB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.762, allocations: 27.97 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.762, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.7621, allocations: 19.94 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.7623, allocations: 15.98 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.7627, allocations: 163.4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.763, allocations: 0.6806 MB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.7631, allocations: 11.98 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.7631, allocations: 15.38 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7631, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.7861, allocations: 1.941 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.842, allocations: 13.17 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches