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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.002049/0.002049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002633/0.002633, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5693, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00287/0.5722, allocations: 1.698 MB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.7139, allocations: 149.3 MB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.7141, allocations: 4 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.7143, allocations: 11.94 kB / 1.164 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.7145, allocations: 39.75 kB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.7149, allocations: 123.5 kB / 1.164 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.715, allocations: 119.6 kB / 1.164 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.7151, allocations: 35.56 kB / 1.164 GB, free: 10.94 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.7169, allocations: 151.3 kB / 1.165 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.717, allocations: 47.75 kB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.717, allocations: 4 kB / 1.165 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.7174, allocations: 183.6 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.7174, allocations: 23.92 kB / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.7175, allocations: 39.73 kB / 1.165 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.7178, allocations: 179.5 kB / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7178, allocations: 0 / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7178, allocations: 0 / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7178, allocations: 0 / 1.165 GB, free: 10.34 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.0005819/0.7184, allocations: 451 kB / 1.165 GB, free: 9.855 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7184, allocations: 8.031 kB / 1.165 GB, free: 9.848 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.7185, allocations: 42.75 kB / 1.166 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/0.7194, allocations: 79.66 kB / 1.166 GB, free: 9.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.7196, allocations: 206.8 kB / 1.166 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7196, allocations: 12 kB / 1.166 GB, free: 9.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.7197, allocations: 4 kB / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.7201, allocations: 137.5 kB / 1.166 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7201, allocations: 0 / 1.166 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.7201, allocations: 7.922 kB / 1.166 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7201, allocations: 4 kB / 1.166 GB, free: 9.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.7207, allocations: 139.9 kB / 1.166 GB, free: 9.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.7214, allocations: 416.1 kB / 1.166 GB, free: 8.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.7221, allocations: 255.7 kB / 1.167 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.7224, allocations: 76.8 kB / 1.167 GB, free: 8.359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.7224, allocations: 3.938 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.7225, allocations: 38.55 kB / 1.167 GB, free: 8.309 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.7225, allocations: 0 / 1.167 GB, free: 8.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0007531/0.7232, allocations: 213.4 kB / 1.167 GB, free: 8.094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.7233, allocations: 55.34 kB / 1.167 GB, free: 8.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.7234, allocations: 139.7 kB / 1.167 GB, free: 7.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7234, allocations: 33.7 kB / 1.167 GB, free: 7.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.7235, allocations: 104 kB / 1.167 GB, free: 7.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.7235, allocations: 27.78 kB / 1.167 GB, free: 7.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.7236, allocations: 21.72 kB / 1.167 GB, free: 7.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7237, allocations: 326.8 kB / 1.168 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.7239, allocations: 51.94 kB / 1.168 GB, free: 7.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.7241, allocations: 78.52 kB / 1.168 GB, free: 7.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.7245, allocations: 116.8 kB / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7245, allocations: 0 / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000466/0.725, allocations: 169.4 kB / 1.168 GB, free: 6.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.725, allocations: 9.25 kB / 1.168 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7251, allocations: 0 / 1.168 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.7251, allocations: 0 / 1.168 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.7253, allocations: 27.97 kB / 1.168 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.7253, allocations: 0.5469 kB / 1.168 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.7255, allocations: 23.97 kB / 1.168 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.7255, allocations: 7.938 kB / 1.168 GB, free: 6.859 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 9.281e-05/0.7256, allocations: 118.3 kB / 1.168 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.7256, allocations: 7.906 kB / 1.168 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.7257, allocations: 24.7 kB / 1.168 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7257, allocations: 4 kB / 1.168 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7257, allocations: 0 / 1.168 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7257, allocations: 0 / 1.168 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.7265, allocations: 470.1 kB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7265, allocations: 4 kB / 1.169 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.7267, allocations: 31.97 kB / 1.169 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7267, allocations: 0 / 1.169 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7267, allocations: 0 / 1.169 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7267, allocations: 7.938 kB / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7267, allocations: 0 / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.7272, allocations: 259.3 kB / 1.169 GB, free: 5.871 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.7273, allocations: 89 kB / 1.169 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.7273, allocations: 0 / 1.169 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.7275, allocations: 27.77 kB / 1.169 GB, free: 5.738 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.7275, allocations: 15.98 kB / 1.169 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.7276, allocations: 0 / 1.169 GB, free: 5.723 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.7276, allocations: 113.5 kB / 1.169 GB, free: 5.613 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7276, allocations: 0 / 1.169 GB, free: 5.613 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002747/0.7279, allocations: 31.94 kB / 1.169 GB, free: 5.582 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.0008138/0.7287, allocations: 0.8079 MB / 1.17 GB, free: 4.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.7292, allocations: 119.9 kB / 1.17 GB, free: 4.633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7292, allocations: 0 / 1.17 GB, free: 4.633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.7295, allocations: 67.88 kB / 1.17 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.7298, allocations: 40.94 kB / 1.17 GB, free: 4.527 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.7321, allocations: 1.745 MB / 1.172 GB, free: 2.707 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.7324, allocations: 0.7004 MB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.7325, allocations: 36.42 kB / 1.173 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.7326, allocations: 27.42 kB / 1.173 GB, free: 1.918 MB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/0.7326, allocations: 0 / 1.173 GB, free: 1.918 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.7451, allocations: 3.031 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.7453, allocations: 214.7 kB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.517, allocations: 2.25 kB / 1.176 GB, free: 14.77 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