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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001595/0.001595, allocations: 112.5 kB / 15.73 MB, free: 76 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.001893/0.001893, allocations: 188.3 kB / 16.66 MB, free: 6.582 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.781/2.781, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2856, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002785/0.2884, allocations: 1.651 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7455/1.034, allocations: 151.5 MB / 1.369 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/1.034, allocations: 1.781 kB / 1.369 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/1.034, allocations: 15.77 kB / 1.369 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/1.035, allocations: 48.27 kB / 1.369 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/1.035, allocations: 142.7 kB / 1.37 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/1.035, allocations: 121.8 kB / 1.37 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/1.035, allocations: 28.02 kB / 1.37 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.036, allocations: 178.5 kB / 1.37 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/1.036, allocations: 45.23 kB / 1.37 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/1.036, allocations: 8.188 kB / 1.37 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/1.037, allocations: 177.3 kB / 1.37 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/1.037, allocations: 21.97 kB / 1.37 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/1.037, allocations: 44.77 kB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/1.037, allocations: 198.1 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.037, allocations: 5.156 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/1.037, allocations: 0 / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.037, allocations: 0 / 1.37 GB, free: 12.97 MB / 1.076 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.0005895/1.038, allocations: 452.1 kB / 1.371 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/1.038, allocations: 9.438 kB / 1.371 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/1.038, allocations: 39.45 kB / 1.371 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/1.039, allocations: 85.11 kB / 1.371 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.039, allocations: 210.3 kB / 1.371 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.039, allocations: 4.25 kB / 1.371 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/1.039, allocations: 8.719 kB / 1.371 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/1.039, allocations: 133.7 kB / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.04, allocations: 0 / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.04, allocations: 5.031 kB / 1.371 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.04, allocations: 5.125 kB / 1.371 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/1.04, allocations: 136.6 kB / 1.371 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/1.041, allocations: 422.5 kB / 1.372 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/1.042, allocations: 247.6 kB / 1.372 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/1.042, allocations: 81.08 kB / 1.372 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/1.042, allocations: 9.422 kB / 1.372 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/1.042, allocations: 32 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.042, allocations: 4 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0007754/1.043, allocations: 214.1 kB / 1.372 GB, free: 11.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/1.043, allocations: 56.75 kB / 1.372 GB, free: 11.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/1.043, allocations: 150.5 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/1.043, allocations: 25.7 kB / 1.373 GB, free: 11.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/1.043, allocations: 101 kB / 1.373 GB, free: 11.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/1.043, allocations: 27.45 kB / 1.373 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/1.043, allocations: 24.03 kB / 1.373 GB, free: 11.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.043, allocations: 328.8 kB / 1.373 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.043, allocations: 59.02 kB / 1.373 GB, free: 10.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/1.044, allocations: 77.83 kB / 1.373 GB, free: 10.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/1.044, allocations: 116.8 kB / 1.373 GB, free: 10.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.044, allocations: 2.375 kB / 1.373 GB, free: 10.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004944/1.045, allocations: 159.4 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.045, allocations: 5.688 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.045, allocations: 0 / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.045, allocations: 1.219 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/1.045, allocations: 32.33 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.045, allocations: 1.281 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/1.045, allocations: 22.17 kB / 1.373 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.045, allocations: 4.281 kB / 1.373 GB, free: 10.69 MB / 1.076 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 9.119e-05/1.045, allocations: 127.4 kB / 1.374 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.045, allocations: 11.06 kB / 1.374 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/1.045, allocations: 15.19 kB / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.045, allocations: 1.438 kB / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.045, allocations: 6.562 kB / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.045, allocations: 0 / 1.374 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/1.046, allocations: 466.3 kB / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.046, allocations: 0 / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.046, allocations: 28.5 kB / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.046, allocations: 0 / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.046, allocations: 5.219 kB / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.046, allocations: 3.938 kB / 1.374 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.046, allocations: 6.375 kB / 1.374 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/1.047, allocations: 262.5 kB / 1.374 GB, free: 9.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/1.047, allocations: 93.31 kB / 1.374 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/1.047, allocations: 2.047 kB / 1.374 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/1.047, allocations: 21.83 kB / 1.374 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/1.047, allocations: 6.391 kB / 1.374 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/1.047, allocations: 1.344 kB / 1.374 GB, free: 9.883 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.792e-05/1.047, allocations: 112.9 kB / 1.375 GB, free: 9.797 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.01e-07/1.047, allocations: 1.062 kB / 1.375 GB, free: 9.797 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000277/1.048, allocations: 33.12 kB / 1.375 GB, free: 9.789 MB / 1.076 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.0008874/1.049, allocations: 0.8017 MB / 1.375 GB, free: 9.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004989/1.049, allocations: 128.9 kB / 1.376 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.049, allocations: 1.5 kB / 1.376 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/1.049, allocations: 68.19 kB / 1.376 GB, free: 9.047 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/1.05, allocations: 31.41 kB / 1.376 GB, free: 9.039 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.052, allocations: 1.742 MB / 1.377 GB, free: 7.684 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.053, allocations: 0.698 MB / 1.378 GB, free: 6.988 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001351/1.053, allocations: 31.22 kB / 1.378 GB, free: 6.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/1.053, allocations: 28.86 kB / 1.378 GB, free: 6.957 MB / 1.076 GB Notification: Performance of SimCode: time 2.41e-07/1.053, allocations: 0 / 1.378 GB, free: 6.957 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/1.073, allocations: 3.378 MB / 1.381 GB, free: 5.547 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.679, allocations: 9.25 kB / 1.381 GB, free: 5.543 MB / 1.076 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