Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001085/0.001085, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5228, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002296/0.5251, allocations: 1.553 MB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.5262, allocations: 0.8343 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.5263, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.5263, allocations: 7.922 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.5264, allocations: 3.938 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.5267, allocations: 107.6 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.5268, allocations: 51.78 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.5269, allocations: 19.98 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.5269, allocations: 15.92 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.527, allocations: 31.84 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.527, allocations: 4 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.5273, allocations: 171.7 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.5273, allocations: 12.06 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.5273, allocations: 15.88 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.5276, allocations: 145.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5276, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5276, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5276, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 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.0004753/0.5281, allocations: 399.2 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5281, allocations: 8.031 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.5282, allocations: 38.75 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.5282, allocations: 4.844 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.5283, allocations: 180.1 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.5283, allocations: 384 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.5283, allocations: 4.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.5286, allocations: 82.19 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5286, allocations: 3.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.5286, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5286, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.5289, allocations: 67.92 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.5292, allocations: 284.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.5294, allocations: 54.55 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5296, allocations: 40.91 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.5298, allocations: 93.09 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5298, allocations: 34.56 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5298, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005218/0.5303, allocations: 141.4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.5304, allocations: 51.41 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.5305, allocations: 117.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.5305, allocations: 25.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.5305, allocations: 88.14 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.5305, allocations: 15.73 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.5306, allocations: 17.72 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.5307, allocations: 318.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5308, allocations: 35.95 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.531, allocations: 27.97 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.5313, allocations: 80.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5313, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003105/0.5316, allocations: 93.62 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5316, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5316, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.5316, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5317, allocations: 15.97 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5318, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.5318, allocations: 15.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.5319, allocations: 0 / 1.022 GB, free: 13.26 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 (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 6.051e-05/0.5319, allocations: 114.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.532, allocations: 7.906 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.5323, allocations: 113.5 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5323, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5323, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5324, allocations: 3.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.5325, allocations: 173.6 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5325, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.5326, allocations: 19.97 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5326, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.5326, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5326, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5327, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.533, allocations: 203.3 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.533, allocations: 77.11 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.5331, allocations: 3.984 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5332, allocations: 19.92 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5332, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5332, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.5333, allocations: 91.27 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5333, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002607/0.5336, allocations: 31.94 kB / 1.023 GB, free: 12.3 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 (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.0006684/0.5342, allocations: 0.7631 MB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.5346, allocations: 75.86 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5346, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.5347, allocations: 35.97 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.535, allocations: 9.875 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5366, allocations: 1.44 MB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.5368, allocations: 0.6809 MB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.5368, allocations: 4 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.5369, allocations: 19.42 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5369, allocations: 0 / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.5595, allocations: 2.171 MB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.5597, allocations: 199.6 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.275, allocations: 0 / 1.028 GB, free: 6.824 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches