Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_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.000862/0.000862, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004872/0.004872, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5331, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001309/0.5345, allocations: 1.204 MB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.5355, allocations: 0.8102 MB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.5355, allocations: 1.438 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.5355, allocations: 7.938 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.5356, allocations: 5.156 kB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.5359, allocations: 113.6 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.536, allocations: 49.05 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.536, allocations: 20.97 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.5361, allocations: 19.39 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.5361, allocations: 18.58 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.5361, allocations: 2.312 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.5364, allocations: 174.3 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.5365, allocations: 11.92 kB / 0.9575 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.5365, allocations: 40.02 kB / 0.9576 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.5367, allocations: 154.2 kB / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5367, allocations: 0 / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5367, allocations: 0 / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.5367, allocations: 0 / 0.9577 GB, free: 5.699 MB / 0.7169 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.0003943/0.5371, allocations: 403.4 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5372, allocations: 9.156 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.5372, allocations: 32.25 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.5372, allocations: 3.844 kB / 0.9582 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.06e-05/0.5373, allocations: 179.2 kB / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.5373, allocations: 6 kB / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.5373, allocations: 6.094 kB / 0.9583 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.5375, allocations: 84.53 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5376, allocations: 7.922 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.5376, allocations: 4 kB / 0.9584 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5376, allocations: 1.781 kB / 0.9584 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.5379, allocations: 92.67 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.5381, allocations: 284 kB / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.5383, allocations: 74.09 kB / 0.9589 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.5385, allocations: 45.8 kB / 0.9589 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.5386, allocations: 93.34 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.5386, allocations: 35.94 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5386, allocations: 0 / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005086/0.5391, allocations: 160.3 kB / 0.9592 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.5392, allocations: 51.41 kB / 0.9592 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.5392, allocations: 124.4 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.5393, allocations: 25.7 kB / 0.9594 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.5393, allocations: 98.56 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.5393, allocations: 12.97 kB / 0.9595 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.5393, allocations: 11.47 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.5394, allocations: 320.1 kB / 0.9598 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5395, allocations: 46.8 kB / 0.9598 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5397, allocations: 39.25 kB / 0.9599 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.5399, allocations: 91.31 kB / 0.96 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.54, allocations: 4 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.5403, allocations: 117.9 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5403, allocations: 5.5 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5403, allocations: 3.984 kB / 0.9601 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.5403, allocations: 5.219 kB / 0.9601 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5404, allocations: 19.02 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5404, allocations: 0 / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.5405, allocations: 25.14 kB / 0.9601 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.5405, allocations: 0 / 0.9601 GB, free: 3.516 MB / 0.7169 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 4.469e-05/0.5406, allocations: 116.7 kB / 0.9602 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.5406, allocations: 5.656 kB / 0.9602 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.541, allocations: 133 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.541, allocations: 1 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.541, allocations: 0 / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.541, allocations: 0.9688 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.5411, allocations: 169.8 kB / 0.9605 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5411, allocations: 5.344 kB / 0.9605 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.5412, allocations: 26.84 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5412, allocations: 1.375 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.5412, allocations: 0 / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5412, allocations: 0 / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5412, allocations: 1.375 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.5415, allocations: 223.8 kB / 0.9608 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.5416, allocations: 90.38 kB / 0.9609 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.5416, allocations: 1.375 kB / 0.9609 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5417, allocations: 14.98 kB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.5417, allocations: 6.734 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5417, allocations: 1.375 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.5418, allocations: 91.91 kB / 0.961 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5418, allocations: 4 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002439/0.542, allocations: 39.3 kB / 0.961 GB, free: 2.691 MB / 0.7169 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.0005308/0.5426, allocations: 0.7776 MB / 0.9618 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.5429, allocations: 91.36 kB / 0.9619 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5429, allocations: 0 / 0.9619 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.5431, allocations: 54.19 kB / 0.9619 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.5433, allocations: 16.75 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5448, allocations: 1.493 MB / 0.9634 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5449, allocations: 0.6811 MB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.545, allocations: 6.859 kB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.545, allocations: 17.58 kB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.545, allocations: 4 kB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.5566, allocations: 2.109 MB / 0.9661 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.5569, allocations: 196.3 kB / 0.9663 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.168, allocations: 0 / 0.9663 GB, free: 14.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches