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.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.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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 kB / 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: 193.4 kB / 16.53 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.407/2.407, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5225/0.5239, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00256/0.5265, allocations: 1.484 MB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.5276, allocations: 0.8185 MB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.5276, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.5277, allocations: 7.922 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.5277, allocations: 7.875 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.5281, allocations: 131.4 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.5282, allocations: 47.97 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.5283, allocations: 19.97 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.5283, allocations: 23.81 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.5284, allocations: 19.92 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.5284, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.5287, allocations: 171.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.5287, allocations: 15.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.5288, allocations: 19.88 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.529, allocations: 145.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5291, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5291, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5291, allocations: 0 / 1.02 GB, free: 15.57 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.0005179/0.5296, allocations: 403.1 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5296, allocations: 8.031 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.5297, allocations: 34.75 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.5297, allocations: 12.84 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.5298, allocations: 168.3 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5298, allocations: 384 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.5298, allocations: 8.375 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.5301, allocations: 78.14 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5301, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5301, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5301, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.5304, allocations: 71.92 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.5308, allocations: 280.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.531, allocations: 58.48 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.5312, allocations: 44.91 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.5313, allocations: 89.09 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5314, allocations: 34.56 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5314, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005393/0.5319, allocations: 137.5 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.532, allocations: 55.34 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.532, allocations: 113.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5321, allocations: 29.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.5321, allocations: 88.14 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.5321, allocations: 11.83 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.5322, allocations: 17.72 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.5323, allocations: 318.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5324, allocations: 35.95 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5326, allocations: 31.91 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.5328, allocations: 72.78 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5328, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/0.5332, allocations: 97.53 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5332, allocations: 6.188 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5332, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5332, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5333, allocations: 23.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5333, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.5334, allocations: 15.98 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5334, allocations: 0 / 1.023 GB, free: 13 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.656e-05/0.5335, allocations: 113.8 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.5335, allocations: 3.906 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.5339, allocations: 109.5 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5339, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5339, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5339, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5341, allocations: 173.6 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5341, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.5342, allocations: 23.91 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5342, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5342, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5342, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5342, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.5346, allocations: 195.4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.5346, allocations: 81.02 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.5346, allocations: 3.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5347, allocations: 15.98 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.5348, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.5348, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.5349, allocations: 91.27 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5349, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002597/0.5351, allocations: 39.88 kB / 1.023 GB, free: 12.04 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.0006654/0.5358, allocations: 0.7712 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.5361, allocations: 79.95 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5361, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.5363, allocations: 35.91 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.5366, allocations: 7.984 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5383, allocations: 1.414 MB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.5385, allocations: 0.6846 MB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.5385, allocations: 4 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.5385, allocations: 15.42 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5386, allocations: 4 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.737/3.275, allocations: 2.423 MB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/12.42, allocations: 15.88 kB / 1.029 GB, free: 6.535 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