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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001415/0.001415, allocations: 194.9 kB / 16.25 MB, free: 6.629 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.504/2.504, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 68.05 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6712, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002775/0.6741, allocations: 1.706 MB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.8382, allocations: 149.4 MB / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.8384, allocations: 0 / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.8385, allocations: 11.86 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.8388, allocations: 35.78 kB / 1.164 GB, free: 11.13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.8391, allocations: 123.6 kB / 1.165 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.8393, allocations: 131.5 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.8394, allocations: 23.66 kB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.8411, allocations: 170.3 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.68e-05/0.8412, allocations: 43.77 kB / 1.165 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.8412, allocations: 12 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.8415, allocations: 191.6 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.8416, allocations: 19.92 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.8416, allocations: 47.73 kB / 1.165 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.8419, allocations: 187.5 kB / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8419, allocations: 0 / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8419, allocations: 0 / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.842, allocations: 0 / 1.165 GB, free: 10.22 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.0006159/0.8426, allocations: 439 kB / 1.166 GB, free: 9.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8426, allocations: 15.97 kB / 1.166 GB, free: 9.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.8427, allocations: 38.73 kB / 1.166 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.8436, allocations: 91.66 kB / 1.166 GB, free: 9.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.8438, allocations: 204.2 kB / 1.166 GB, free: 9.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.8438, allocations: 4 kB / 1.166 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.8439, allocations: 8 kB / 1.166 GB, free: 9.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.8443, allocations: 132 kB / 1.166 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8443, allocations: 0 / 1.166 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.8443, allocations: 15.88 kB / 1.166 GB, free: 9.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8443, allocations: 0 / 1.166 GB, free: 9.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.8449, allocations: 131.9 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.8456, allocations: 424.1 kB / 1.167 GB, free: 8.598 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.8463, allocations: 251.7 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.8466, allocations: 76.8 kB / 1.167 GB, free: 8.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.8466, allocations: 0 / 1.167 GB, free: 8.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.8466, allocations: 34.56 kB / 1.167 GB, free: 8.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.8467, allocations: 4 kB / 1.167 GB, free: 8.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0007623/0.8474, allocations: 221.3 kB / 1.167 GB, free: 7.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.8475, allocations: 51.41 kB / 1.167 GB, free: 7.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.8476, allocations: 144.7 kB / 1.168 GB, free: 7.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.8476, allocations: 25.7 kB / 1.168 GB, free: 7.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.8477, allocations: 112 kB / 1.168 GB, free: 7.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.8477, allocations: 27.77 kB / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.8478, allocations: 21.72 kB / 1.168 GB, free: 7.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8479, allocations: 326.8 kB / 1.168 GB, free: 7.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.8481, allocations: 55.94 kB / 1.168 GB, free: 7.18 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.8484, allocations: 78.52 kB / 1.168 GB, free: 7.094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.8488, allocations: 112.8 kB / 1.168 GB, free: 6.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8488, allocations: 11.91 kB / 1.168 GB, free: 6.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004788/0.8493, allocations: 161.4 kB / 1.168 GB, free: 6.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8493, allocations: 4 kB / 1.168 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8493, allocations: 0 / 1.168 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8493, allocations: 4 kB / 1.168 GB, free: 6.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.8496, allocations: 27.97 kB / 1.168 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8496, allocations: 0 / 1.168 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.8497, allocations: 19.97 kB / 1.169 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.8498, allocations: 3.938 kB / 1.169 GB, free: 6.746 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 0.0001157/0.8499, allocations: 130.2 kB / 1.169 GB, free: 6.609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.8499, allocations: 11.91 kB / 1.169 GB, free: 6.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.85, allocations: 20.7 kB / 1.169 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.85, allocations: 0 / 1.169 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.85, allocations: 0 / 1.169 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.85, allocations: 0 / 1.169 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.8508, allocations: 470.2 kB / 1.169 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8508, allocations: 0 / 1.169 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.851, allocations: 27.97 kB / 1.169 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.851, allocations: 0 / 1.169 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.851, allocations: 3.938 kB / 1.169 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.851, allocations: 3.938 kB / 1.169 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.851, allocations: 0 / 1.169 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.8515, allocations: 263.3 kB / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.8516, allocations: 81.02 kB / 1.169 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.8516, allocations: 7.984 kB / 1.169 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.8518, allocations: 31.81 kB / 1.17 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.8519, allocations: 7.984 kB / 1.17 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.8519, allocations: 0 / 1.17 GB, free: 5.609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.852, allocations: 116.7 kB / 1.17 GB, free: 5.496 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.852, allocations: 0 / 1.17 GB, free: 5.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002563/0.8522, allocations: 31.94 kB / 1.17 GB, free: 5.465 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.000831/0.8531, allocations: 0.795 MB / 1.17 GB, free: 4.645 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.8536, allocations: 143.9 kB / 1.171 GB, free: 4.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8536, allocations: 0 / 1.171 GB, free: 4.504 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.8538, allocations: 67.94 kB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.8542, allocations: 35.84 kB / 1.171 GB, free: 4.402 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.8567, allocations: 1.751 MB / 1.172 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.8569, allocations: 0.7002 MB / 1.173 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.8571, allocations: 28.45 kB / 1.173 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.8572, allocations: 35.36 kB / 1.173 GB, free: 1.789 MB / 0.92 GB Notification: Performance of SimCode: time 1.443e-06/0.8572, allocations: 112 / 1.173 GB, free: 1.789 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.8702, allocations: 3.127 MB / 1.176 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.8704, allocations: 215.2 kB / 1.176 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.61, allocations: 4.156 kB / 1.176 GB, free: 14.56 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