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.001267/0.001267, 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.00125/0.00125, allocations: 194 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.491/2.491, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5389, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002389/0.5413, allocations: 1.264 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.5426, allocations: 0.8303 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.5426, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.5427, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.5427, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.5433, allocations: 127.4 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.5434, allocations: 27.91 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.5434, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.5435, allocations: 15.88 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.5435, allocations: 15.92 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5435, allocations: 4 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.5439, allocations: 163.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.5439, allocations: 7.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.544, allocations: 11.94 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.5442, allocations: 118 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5443, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5443, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5443, allocations: 0 / 1.02 GB, free: 15.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004401/0.5447, allocations: 364.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5448, allocations: 12.03 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.5448, allocations: 34.69 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.5449, allocations: 4.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.545, allocations: 168.3 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.5451, allocations: 34.27 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.5451, allocations: 384 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5452, allocations: 46 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5452, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5452, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5453, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.5454, allocations: 15.98 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.5455, allocations: 161.5 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.5458, allocations: 54.58 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.5458, allocations: 12.86 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.5461, allocations: 186.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5462, allocations: 38.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.5462, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002503/0.5464, allocations: 69.61 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5465, allocations: 51.41 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.5466, allocations: 101.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5466, allocations: 25.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.5466, allocations: 88.14 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.5466, allocations: 11.81 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.5467, allocations: 17.72 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.5468, allocations: 314.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.5468, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.5469, allocations: 19.98 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.547, allocations: 24.84 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.547, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.5472, allocations: 61.62 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5472, allocations: 7.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5472, allocations: 3.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5472, allocations: 3.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.5473, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5473, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.5473, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5473, allocations: 4 kB / 1.022 GB, free: 13.65 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 7.032e-05/0.5474, allocations: 109.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.5474, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5476, allocations: 77 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5476, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5477, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5477, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.932e-05/0.5478, allocations: 161.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5478, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.5478, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5478, allocations: 3.938 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5479, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5479, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5479, allocations: 0.5625 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.548, allocations: 85.11 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.5481, allocations: 89.02 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.5481, allocations: 8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.5482, allocations: 7.922 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.5482, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.5482, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.5483, allocations: 79.28 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5483, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002309/0.5485, allocations: 31.98 kB / 1.022 GB, free: 12.89 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.0005136/0.549, allocations: 0.663 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5492, allocations: 35.91 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5492, allocations: 3.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.363e-05/0.5493, allocations: 16 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.5495, allocations: 18.02 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.5499, allocations: 164.8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.5501, allocations: 0.6729 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.5502, allocations: 8 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.5502, allocations: 15.42 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5502, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.5674, allocations: 1.922 MB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.192, allocations: 3.594 kB / 1.026 GB, free: 9.367 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