Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_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.0008524/0.0008524, allocations: 98.03 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.004887/0.004887, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.07/2.07, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 19.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5116, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001263/0.5129, allocations: 1.353 MB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1282/0.6411, allocations: 147.7 MB / 1.101 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.6412, allocations: 4 kB / 1.101 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.6413, allocations: 7.922 kB / 1.101 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.6415, allocations: 39.77 kB / 1.101 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.6417, allocations: 119.5 kB / 1.101 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.6419, allocations: 115.6 kB / 1.101 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.642, allocations: 31.64 kB / 1.101 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.6436, allocations: 150.5 kB / 1.101 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.6436, allocations: 35.8 kB / 1.101 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.6436, allocations: 4 kB / 1.101 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.6439, allocations: 187.6 kB / 1.101 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.644, allocations: 19.91 kB / 1.101 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.644, allocations: 61.45 kB / 1.101 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.6443, allocations: 183.5 kB / 1.102 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6443, allocations: 4 kB / 1.102 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6443, allocations: 3.938 kB / 1.102 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.6443, allocations: 0 / 1.102 GB, free: 8.848 MB / 0.8575 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.0004962/0.6448, allocations: 443 kB / 1.102 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6448, allocations: 8.031 kB / 1.102 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.6449, allocations: 38.75 kB / 1.102 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008225/0.6457, allocations: 87.64 kB / 1.102 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.6459, allocations: 198.8 kB / 1.102 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.6459, allocations: 7.984 kB / 1.102 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.6459, allocations: 12 kB / 1.102 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.6463, allocations: 141.6 kB / 1.103 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.6463, allocations: 0 / 1.103 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.6464, allocations: 7.938 kB / 1.103 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6464, allocations: 4 kB / 1.103 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.6469, allocations: 163.8 kB / 1.103 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.6475, allocations: 404.4 kB / 1.103 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.6482, allocations: 275.6 kB / 1.103 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.6485, allocations: 80.8 kB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.6485, allocations: 4 kB / 1.103 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.6485, allocations: 34.56 kB / 1.103 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.6485, allocations: 3.938 kB / 1.103 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007551/0.6493, allocations: 249.4 kB / 1.104 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.6493, allocations: 55.34 kB / 1.104 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.6494, allocations: 148.5 kB / 1.104 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.6494, allocations: 29.7 kB / 1.104 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.6495, allocations: 104 kB / 1.104 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.6495, allocations: 23.8 kB / 1.104 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.6496, allocations: 13.72 kB / 1.104 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.6496, allocations: 330.8 kB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.6499, allocations: 59.94 kB / 1.104 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6501, allocations: 90.52 kB / 1.105 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.6505, allocations: 136.8 kB / 1.105 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6505, allocations: 0 / 1.105 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004879/0.651, allocations: 197.3 kB / 1.105 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6511, allocations: 4 kB / 1.105 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.6511, allocations: 0 / 1.105 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.6511, allocations: 0 / 1.105 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6513, allocations: 31.97 kB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.6513, allocations: 0 / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.6514, allocations: 31.97 kB / 1.105 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6515, allocations: 11.94 kB / 1.105 GB, free: 5.227 MB / 0.8575 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.139e-05/0.6515, allocations: 117.8 kB / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.6516, allocations: 7.906 kB / 1.105 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.6516, allocations: 24.64 kB / 1.105 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6516, allocations: 4 kB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6516, allocations: 0 / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6517, allocations: 0 / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.6524, allocations: 486.2 kB / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6524, allocations: 0 / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.6526, allocations: 35.97 kB / 1.106 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6526, allocations: 0 / 1.106 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6526, allocations: 4 kB / 1.106 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6526, allocations: 7.938 kB / 1.106 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6526, allocations: 0 / 1.106 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.6531, allocations: 275.9 kB / 1.106 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.6532, allocations: 92.94 kB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.6532, allocations: 8 kB / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.6534, allocations: 23.83 kB / 1.106 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.6534, allocations: 7.984 kB / 1.106 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.6534, allocations: 0 / 1.106 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.6535, allocations: 121.5 kB / 1.106 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.6535, allocations: 0 / 1.106 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.6537, allocations: 35.94 kB / 1.106 GB, free: 3.902 MB / 0.8575 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.0007464/0.6545, allocations: 0.8256 MB / 1.107 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.655, allocations: 147.9 kB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.655, allocations: 0 / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.6552, allocations: 75.88 kB / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.6555, allocations: 40.39 kB / 1.107 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.6578, allocations: 1.816 MB / 1.109 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.658, allocations: 0.7004 MB / 1.11 GB, free: 180 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.6581, allocations: 28.52 kB / 1.11 GB, free: 148 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.6582, allocations: 39.34 kB / 1.11 GB, free: 112 kB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.6582, allocations: 0 / 1.11 GB, free: 112 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.6791, allocations: 2.957 MB / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.6793, allocations: 219.3 kB / 1.113 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.336, allocations: 3.938 kB / 1.113 GB, free: 13.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches