Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001304/0.001308, allocations: 108 kB / 15.61 MB, free: 148 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.00137/0.00137, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.311/2.311, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5776, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002799/0.5804, allocations: 1.643 MB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1393/0.7197, allocations: 151.6 MB / 1.167 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.7199, allocations: 0 / 1.167 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.7201, allocations: 15.8 kB / 1.167 GB, free: 8.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.7203, allocations: 39.72 kB / 1.167 GB, free: 8.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.7208, allocations: 147.4 kB / 1.167 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.7209, allocations: 119.6 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.7211, allocations: 35.53 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.7221, allocations: 165.4 kB / 1.168 GB, free: 8.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.7222, allocations: 47.7 kB / 1.168 GB, free: 8.168 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.7222, allocations: 8 kB / 1.168 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.7226, allocations: 179.7 kB / 1.168 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.7226, allocations: 19.92 kB / 1.168 GB, free: 7.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.7227, allocations: 47.73 kB / 1.168 GB, free: 7.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.723, allocations: 187.5 kB / 1.168 GB, free: 7.734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.723, allocations: 0 / 1.168 GB, free: 7.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.723, allocations: 0 / 1.168 GB, free: 7.734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.723, allocations: 4 kB / 1.168 GB, free: 7.73 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000567/0.7236, allocations: 439 kB / 1.168 GB, free: 7.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.7237, allocations: 12.03 kB / 1.168 GB, free: 7.242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.7237, allocations: 34.75 kB / 1.168 GB, free: 7.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/0.7246, allocations: 91.66 kB / 1.169 GB, free: 7.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.7248, allocations: 204.7 kB / 1.169 GB, free: 6.871 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.7248, allocations: 4 kB / 1.169 GB, free: 6.867 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.7248, allocations: 12 kB / 1.169 GB, free: 6.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.7253, allocations: 140.6 kB / 1.169 GB, free: 6.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7253, allocations: 3.984 kB / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.7253, allocations: 7.938 kB / 1.169 GB, free: 6.703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7253, allocations: 0 / 1.169 GB, free: 6.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.7258, allocations: 139.8 kB / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.7266, allocations: 420.2 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.7273, allocations: 251.7 kB / 1.17 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.7275, allocations: 76.78 kB / 1.17 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.7275, allocations: 0 / 1.17 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.7276, allocations: 34.56 kB / 1.17 GB, free: 5.711 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.7276, allocations: 4 kB / 1.17 GB, free: 5.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000747/0.7283, allocations: 213.4 kB / 1.17 GB, free: 5.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.7284, allocations: 59.41 kB / 1.17 GB, free: 5.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.7285, allocations: 145.3 kB / 1.17 GB, free: 5.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.7285, allocations: 25.7 kB / 1.17 GB, free: 5.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.7285, allocations: 104 kB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.7286, allocations: 27.78 kB / 1.17 GB, free: 5.105 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.7286, allocations: 25.7 kB / 1.17 GB, free: 5.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.7287, allocations: 322.8 kB / 1.171 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.7289, allocations: 63.92 kB / 1.171 GB, free: 4.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.7292, allocations: 74.52 kB / 1.171 GB, free: 4.605 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.7296, allocations: 116.8 kB / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7296, allocations: 0 / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004701/0.7301, allocations: 165.3 kB / 1.171 GB, free: 4.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7301, allocations: 8 kB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7301, allocations: 0 / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.7301, allocations: 3.938 kB / 1.171 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.7303, allocations: 27.97 kB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7303, allocations: 0 / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.7305, allocations: 23.97 kB / 1.171 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.7305, allocations: 3.938 kB / 1.171 GB, free: 4.254 MB / 0.92 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 (8): * Single equations (assignments): 8 * 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 8.842e-05/0.7306, allocations: 129.8 kB / 1.171 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.7306, allocations: 11.89 kB / 1.171 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.7307, allocations: 8.719 kB / 1.171 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7307, allocations: 4 kB / 1.171 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7307, allocations: 3.938 kB / 1.171 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7307, allocations: 0 / 1.171 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.7315, allocations: 470.2 kB / 1.172 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7315, allocations: 0 / 1.172 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.7317, allocations: 27.97 kB / 1.172 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7317, allocations: 0 / 1.172 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.7317, allocations: 7.984 kB / 1.172 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7317, allocations: 3.938 kB / 1.172 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7317, allocations: 0 / 1.172 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.7322, allocations: 263.3 kB / 1.172 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.7322, allocations: 85.02 kB / 1.172 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.7323, allocations: 0 / 1.172 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.7324, allocations: 19.92 kB / 1.172 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.7325, allocations: 7.984 kB / 1.172 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.7325, allocations: 4 kB / 1.172 GB, free: 3.129 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.7326, allocations: 117.1 kB / 1.172 GB, free: 3.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7326, allocations: 0 / 1.172 GB, free: 3.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002625/0.7328, allocations: 32 kB / 1.172 GB, free: 2.984 MB / 0.92 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 (8): * Single equations (assignments): 8 * 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.0007638/0.7336, allocations: 0.8026 MB / 1.173 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.7341, allocations: 135.9 kB / 1.173 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7341, allocations: 0 / 1.173 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.7344, allocations: 71.88 kB / 1.173 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.7347, allocations: 41.56 kB / 1.173 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.737, allocations: 1.716 MB / 1.175 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.7372, allocations: 0.7042 MB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.7374, allocations: 32.33 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.7375, allocations: 27.52 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7375, allocations: 7.938 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.568/3.306, allocations: 3.304 MB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/12, allocations: 22 kB / 1.179 GB, free: 12.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches