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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001442/0.001442, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.504/2.504, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.08 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7587/0.7602, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002507/0.7627, allocations: 1.334 MB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.7641, allocations: 0.8265 MB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.7641, allocations: 3.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.7641, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.7642, allocations: 3.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.7647, allocations: 119.5 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.7648, allocations: 27.92 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.7648, allocations: 7.984 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.7649, allocations: 11.94 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.7649, allocations: 11.98 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.765, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.7653, allocations: 175.6 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.7653, allocations: 7.984 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.7654, allocations: 15.92 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.7656, allocations: 114 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7656, allocations: 0 / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7656, allocations: 0 / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7656, allocations: 4 kB / 1.02 GB, free: 52 kB / 0.7637 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.0005042/0.7661, allocations: 367.3 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7662, allocations: 8.031 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.7662, allocations: 30.75 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.7662, allocations: 4.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7664, allocations: 164.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.7665, allocations: 34.25 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.7665, allocations: 4.375 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.7666, allocations: 50 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7666, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7667, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7667, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.7668, allocations: 15.92 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.767, allocations: 165.6 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.7672, allocations: 42.61 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.7672, allocations: 20.94 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.7676, allocations: 178.2 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.7676, allocations: 42.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7676, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.7679, allocations: 69.61 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.7679, allocations: 55.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.768, allocations: 97.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.768, allocations: 25.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.7681, allocations: 84.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.7681, allocations: 15.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.7681, allocations: 13.72 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7683, allocations: 314.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.7683, allocations: 19.92 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.7684, allocations: 8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.7685, allocations: 25.31 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7685, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.7686, allocations: 61.62 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7687, allocations: 11.92 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7687, allocations: 48 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7687, allocations: 3.984 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.7687, allocations: 12 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7688, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.7688, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.7688, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 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.969e-05/0.7689, allocations: 106.4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.7689, allocations: 11.92 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.7691, allocations: 73.02 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7691, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7691, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7692, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.7693, allocations: 153.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7693, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.7694, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7694, allocations: 3.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7694, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7694, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7694, allocations: 3.984 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.7696, allocations: 85.06 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.7697, allocations: 92.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.7697, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.7697, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.7698, allocations: 7.984 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.7698, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.7698, allocations: 79.28 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7698, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002248/0.7701, allocations: 40 kB / 1.022 GB, free: 13.09 MB / 0.7794 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.0005751/0.7707, allocations: 0.659 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.7708, allocations: 31.92 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7708, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.7709, allocations: 15.98 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.7711, allocations: 15.94 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.7715, allocations: 168.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.7718, allocations: 0.6845 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.7719, allocations: 4.469 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.7719, allocations: 11.44 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7719, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.7833, allocations: 1.811 MB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.7835, allocations: 223.4 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.477, allocations: 4 kB / 1.026 GB, free: 9.461 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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