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.005144/0.005144, allocations: 99.5 kB / 15.73 MB, free: 6.441 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.001474/0.001474, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.567/2.567, allocations: 437.1 MB / 0.7106 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3252, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003111/0.3284, allocations: 1.638 MB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7422/1.071, allocations: 151.5 MB / 1.316 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/1.071, allocations: 0.9688 kB / 1.316 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/1.071, allocations: 18.25 kB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002052/1.071, allocations: 53.67 kB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/1.071, allocations: 143.3 kB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/1.072, allocations: 122 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/1.072, allocations: 34.12 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/1.073, allocations: 161.8 kB / 1.316 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/1.073, allocations: 44.08 kB / 1.316 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/1.073, allocations: 11.22 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/1.073, allocations: 180.5 kB / 1.316 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/1.073, allocations: 24.34 kB / 1.317 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/1.073, allocations: 42.52 kB / 1.317 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/1.074, allocations: 193.7 kB / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.074, allocations: 1.766 kB / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/1.074, allocations: 0 / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.569e-06/1.074, allocations: 0 / 1.317 GB, free: 11.88 MB / 1.014 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.0005643/1.074, allocations: 451.3 kB / 1.317 GB, free: 11.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/1.074, allocations: 9.719 kB / 1.317 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/1.074, allocations: 45.95 kB / 1.317 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/1.075, allocations: 82.28 kB / 1.317 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.075, allocations: 204.7 kB / 1.318 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/1.075, allocations: 7.078 kB / 1.318 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/1.075, allocations: 13.2 kB / 1.318 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/1.076, allocations: 138.4 kB / 1.318 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.076, allocations: 3.938 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.076, allocations: 1.094 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.076, allocations: 9.641 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/1.076, allocations: 138 kB / 1.318 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/1.077, allocations: 412.8 kB / 1.318 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/1.078, allocations: 252.1 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/1.078, allocations: 73.31 kB / 1.319 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/1.078, allocations: 1.469 kB / 1.319 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.078, allocations: 36.66 kB / 1.319 GB, free: 10.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/1.078, allocations: 0 / 1.319 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0007177/1.079, allocations: 224.7 kB / 1.319 GB, free: 10.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/1.079, allocations: 54.27 kB / 1.319 GB, free: 10.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.079, allocations: 145 kB / 1.319 GB, free: 10.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/1.079, allocations: 26.83 kB / 1.319 GB, free: 10.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/1.079, allocations: 101.2 kB / 1.319 GB, free: 10.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/1.079, allocations: 28.73 kB / 1.319 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/1.079, allocations: 23.44 kB / 1.319 GB, free: 10.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.079, allocations: 331.6 kB / 1.319 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/1.079, allocations: 57.05 kB / 1.319 GB, free: 10.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/1.08, allocations: 73 kB / 1.32 GB, free: 9.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/1.08, allocations: 122.1 kB / 1.32 GB, free: 9.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.08, allocations: 0 / 1.32 GB, free: 9.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004684/1.08, allocations: 164.5 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.081, allocations: 4.797 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.081, allocations: 1.125 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/1.081, allocations: 0 / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/1.081, allocations: 28.14 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.081, allocations: 0.7812 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.081, allocations: 28.12 kB / 1.32 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.081, allocations: 6.75 kB / 1.32 GB, free: 9.922 MB / 1.014 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.802e-05/1.081, allocations: 120.1 kB / 1.32 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/1.081, allocations: 12.27 kB / 1.32 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/1.081, allocations: 16.78 kB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.081, allocations: 1.156 kB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/1.081, allocations: 0 / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.081, allocations: 0.7969 kB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/1.082, allocations: 474.6 kB / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.082, allocations: 0 / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.082, allocations: 32.42 kB / 1.321 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.082, allocations: 4.547 kB / 1.321 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.082, allocations: 2.062 kB / 1.321 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/1.082, allocations: 9 kB / 1.321 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.082, allocations: 4 kB / 1.321 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/1.083, allocations: 255.3 kB / 1.321 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/1.083, allocations: 85.78 kB / 1.321 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.083, allocations: 4.156 kB / 1.321 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.083, allocations: 17.98 kB / 1.321 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/1.083, allocations: 5.531 kB / 1.321 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.083, allocations: 7.094 kB / 1.321 GB, free: 9.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.472e-05/1.083, allocations: 113.8 kB / 1.321 GB, free: 9.145 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.083, allocations: 0 / 1.321 GB, free: 9.145 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002413/1.083, allocations: 35.14 kB / 1.321 GB, free: 9.137 MB / 1.014 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.0008121/1.084, allocations: 0.8089 MB / 1.322 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004576/1.085, allocations: 124.1 kB / 1.322 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.085, allocations: 8 kB / 1.322 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/1.085, allocations: 66.45 kB / 1.322 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/1.085, allocations: 33.14 kB / 1.322 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/1.087, allocations: 1.734 MB / 1.324 GB, free: 7.238 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.088, allocations: 0.6998 MB / 1.324 GB, free: 6.543 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001147/1.088, allocations: 29.7 kB / 1.324 GB, free: 6.531 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/1.088, allocations: 32.08 kB / 1.324 GB, free: 6.523 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.088, allocations: 0 / 1.324 GB, free: 6.523 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2169/1.305, allocations: 3.365 MB / 1.328 GB, free: 6.059 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.676/10.98, allocations: 12.88 kB / 1.328 GB, free: 6.047 MB / 1.014 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=400 --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