Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_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.003922/0.003922, allocations: 98.53 kB / 15.73 MB, free: 6.496 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.001304/0.001304, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 68.3 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2659, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002196/0.2681, allocations: 1.499 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2692, allocations: 0.8099 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.2693, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.2693, allocations: 3.938 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.2694, allocations: 11.94 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.2697, allocations: 127.4 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.2698, allocations: 59.83 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.2699, allocations: 8 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.27, allocations: 19.92 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.27, allocations: 31.91 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.27, allocations: 4 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.2704, allocations: 171.7 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.2704, allocations: 11.94 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2704, allocations: 23.86 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2707, allocations: 147.5 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2707, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2707, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.2707, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004954/0.2712, allocations: 398.9 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2712, allocations: 8.031 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2713, allocations: 42.73 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.2713, allocations: 0.9375 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2714, allocations: 172.3 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.2714, allocations: 384 / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2715, allocations: 8.375 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2717, allocations: 82.19 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2717, allocations: 7.922 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2717, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2717, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.272, allocations: 67.92 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2723, allocations: 288.7 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.2725, allocations: 58.53 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2727, allocations: 44.91 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.2729, allocations: 89.09 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2729, allocations: 34.56 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.2729, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005054/0.2734, allocations: 133.4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.2735, allocations: 55.41 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.2736, allocations: 129.7 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2736, allocations: 25.7 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2736, allocations: 88.14 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.2736, allocations: 3.953 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2737, allocations: 17.72 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2738, allocations: 326.8 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.274, allocations: 27.97 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2741, allocations: 35.95 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.2746, allocations: 72.72 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2746, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005269/0.2751, allocations: 105.6 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2751, allocations: 5.875 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.2751, allocations: 4 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2752, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2753, allocations: 11.98 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2754, allocations: 0 / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2755, allocations: 15.97 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2755, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 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 0.0001127/0.2756, allocations: 121.8 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.2757, allocations: 7.953 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.2762, allocations: 109.4 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2762, allocations: 0 / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2763, allocations: 0 / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2763, allocations: 0 / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.2765, allocations: 178 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2766, allocations: 0 / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2767, allocations: 19.98 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2767, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2767, allocations: 4 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2767, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2768, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.2773, allocations: 207.3 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.2774, allocations: 81.06 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2774, allocations: 4 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2776, allocations: 11.98 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2777, allocations: 7.984 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2777, allocations: 3.938 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.84e-05/0.2778, allocations: 95.27 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2778, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004314/0.2782, allocations: 35.88 kB / 1.226 GB, free: 7.848 MB / 0.9825 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 (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 Backend phase and start with SimCode phase: time 0.001035/0.2793, allocations: 0.7674 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2798, allocations: 71.86 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2798, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2801, allocations: 39.95 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2805, allocations: 8 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2823, allocations: 1.433 MB / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2826, allocations: 0.6807 MB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.2826, allocations: 4 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2827, allocations: 19.42 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2827, allocations: 0 / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.742/5.024, allocations: 2.456 MB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/15.51, allocations: 1.906 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches