Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_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.001356/0.001356, 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.001359/0.001359, allocations: 193.9 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.09 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2576, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00278/0.2604, allocations: 1.638 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1328/0.3932, allocations: 151.5 MB / 1.213 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3934, allocations: 8 kB / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3935, allocations: 15.8 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3938, allocations: 39.7 kB / 1.213 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.3941, allocations: 151.4 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3943, allocations: 119.6 kB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3944, allocations: 37.59 kB / 1.214 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.3954, allocations: 170 kB / 1.214 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.3955, allocations: 43.78 kB / 1.214 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3955, allocations: 8 kB / 1.214 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.3959, allocations: 187.6 kB / 1.214 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.3959, allocations: 23.91 kB / 1.214 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.396, allocations: 43.73 kB / 1.214 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.3963, allocations: 187.5 kB / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3963, allocations: 0 / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3963, allocations: 0 / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3963, allocations: 0 / 1.214 GB, free: 3.75 MB / 0.9669 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.0005335/0.3969, allocations: 448.3 kB / 1.215 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3969, allocations: 12.03 kB / 1.215 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3969, allocations: 38.75 kB / 1.215 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.3978, allocations: 75.75 kB / 1.215 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.398, allocations: 214.7 kB / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.398, allocations: 4 kB / 1.215 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3981, allocations: 8 kB / 1.215 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.3985, allocations: 133.5 kB / 1.215 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.3985, allocations: 3.938 kB / 1.215 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3985, allocations: 11.94 kB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3985, allocations: 0 / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.3991, allocations: 135.9 kB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.3998, allocations: 408.4 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.4004, allocations: 251.7 kB / 1.216 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.4007, allocations: 80.78 kB / 1.216 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4007, allocations: 11.97 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.4007, allocations: 30.56 kB / 1.216 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.4007, allocations: 3.938 kB / 1.216 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00074/0.4015, allocations: 217.3 kB / 1.216 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.4015, allocations: 51.41 kB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.4016, allocations: 148.9 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4017, allocations: 29.64 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.4017, allocations: 104.2 kB / 1.217 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.4017, allocations: 31.55 kB / 1.217 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.4018, allocations: 29.7 kB / 1.217 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.4019, allocations: 318.8 kB / 1.217 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4021, allocations: 59.94 kB / 1.217 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.4023, allocations: 78.52 kB / 1.217 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.4028, allocations: 116.8 kB / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4028, allocations: 0 / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004657/0.4032, allocations: 161.5 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4033, allocations: 4 kB / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4033, allocations: 3.938 kB / 1.217 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.4033, allocations: 0 / 1.217 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.4035, allocations: 27.97 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4035, allocations: 8 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4036, allocations: 15.97 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4037, allocations: 7.938 kB / 1.217 GB, free: 280 kB / 0.9669 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 7.598e-05/0.4037, allocations: 121.8 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.4038, allocations: 11.81 kB / 1.218 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.4038, allocations: 24.7 kB / 1.218 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4038, allocations: 0 / 1.218 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4039, allocations: 4 kB / 1.218 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4039, allocations: 0 / 1.218 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.4046, allocations: 462.3 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4046, allocations: 0 / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4048, allocations: 23.97 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4048, allocations: 4 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4048, allocations: 0 / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4048, allocations: 7.922 kB / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4048, allocations: 0 / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.4053, allocations: 255.3 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.4054, allocations: 96.84 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4054, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4056, allocations: 19.92 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4056, allocations: 11.98 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4056, allocations: 7.938 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.4057, allocations: 111.2 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4057, allocations: 0 / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002471/0.406, allocations: 24 kB / 1.219 GB, free: 15.01 MB / 0.9825 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.0007613/0.4067, allocations: 0.8072 MB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.4072, allocations: 132 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4072, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.4075, allocations: 67.88 kB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4078, allocations: 35.91 kB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4101, allocations: 1.727 MB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4103, allocations: 0.7002 MB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.4104, allocations: 36.42 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.4105, allocations: 31.42 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.4105, allocations: 0 / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06632/0.4768, allocations: 3.323 MB / 1.225 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.178, allocations: 5.812 kB / 1.225 GB, free: 8.168 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches