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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 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.001866/0.001866, allocations: 195 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5525, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002326/0.5548, allocations: 1.633 MB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.6998, allocations: 151.6 MB / 1.099 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.7, allocations: 4 kB / 1.099 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.7002, allocations: 15.8 kB / 1.099 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.7005, allocations: 43.7 kB / 1.099 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.701, allocations: 147.4 kB / 1.1 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.7012, allocations: 119.6 kB / 1.1 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.7014, allocations: 35.62 kB / 1.1 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.7026, allocations: 163.6 kB / 1.1 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.7027, allocations: 51.77 kB / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.7027, allocations: 4 kB / 1.1 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.7031, allocations: 187.7 kB / 1.1 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.7031, allocations: 19.92 kB / 1.1 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.7032, allocations: 43.73 kB / 1.1 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.7035, allocations: 183.5 kB / 1.1 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7036, allocations: 4 kB / 1.1 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7036, allocations: 0 / 1.1 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7036, allocations: 3.938 kB / 1.1 GB, free: 7.09 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.0006018/0.7042, allocations: 450.9 kB / 1.101 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7042, allocations: 8.031 kB / 1.101 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.7043, allocations: 38.75 kB / 1.101 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.7052, allocations: 83.75 kB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.7054, allocations: 206.7 kB / 1.101 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.7055, allocations: 8 kB / 1.101 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.7055, allocations: 4 kB / 1.101 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.7059, allocations: 139.2 kB / 1.101 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7059, allocations: 0 / 1.101 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.706, allocations: 3.938 kB / 1.101 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.706, allocations: 8 kB / 1.101 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.7065, allocations: 139.8 kB / 1.101 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.7073, allocations: 408.4 kB / 1.102 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.708, allocations: 247.7 kB / 1.102 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.7083, allocations: 76.8 kB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.7083, allocations: 7.984 kB / 1.102 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.7083, allocations: 34.5 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.7083, allocations: 0 / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007793/0.7091, allocations: 217.4 kB / 1.102 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.7092, allocations: 51.41 kB / 1.102 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.7093, allocations: 144.1 kB / 1.102 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.7093, allocations: 29.7 kB / 1.102 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.7094, allocations: 108 kB / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.7094, allocations: 27.78 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.7095, allocations: 25.7 kB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.7096, allocations: 318.8 kB / 1.103 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.7098, allocations: 59.94 kB / 1.103 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.71, allocations: 86.5 kB / 1.103 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.7104, allocations: 112.8 kB / 1.103 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7105, allocations: 0 / 1.103 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004974/0.711, allocations: 161.9 kB / 1.103 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.711, allocations: 4 kB / 1.103 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.711, allocations: 0 / 1.103 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.711, allocations: 0 / 1.103 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.7112, allocations: 35.97 kB / 1.103 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7112, allocations: 0 / 1.103 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.7114, allocations: 19.88 kB / 1.103 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.7114, allocations: 8.016 kB / 1.103 GB, free: 3.625 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.979e-05/0.7115, allocations: 117.8 kB / 1.104 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.7116, allocations: 7.906 kB / 1.104 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.7116, allocations: 28.64 kB / 1.104 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7116, allocations: 0 / 1.104 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7116, allocations: 0 / 1.104 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7116, allocations: 4 kB / 1.104 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.7124, allocations: 478.2 kB / 1.104 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7124, allocations: 0 / 1.104 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.7126, allocations: 23.97 kB / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7126, allocations: 0 / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.7127, allocations: 4 kB / 1.104 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7127, allocations: 7.922 kB / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7127, allocations: 0 / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.7132, allocations: 259.2 kB / 1.104 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.7132, allocations: 89 kB / 1.104 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.7133, allocations: 0 / 1.104 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.7135, allocations: 19.92 kB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7135, allocations: 11.98 kB / 1.104 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.7135, allocations: 0 / 1.104 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.118e-05/0.7136, allocations: 116.7 kB / 1.105 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7136, allocations: 0 / 1.105 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002655/0.7139, allocations: 28 kB / 1.105 GB, free: 2.355 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.0008397/0.7147, allocations: 0.8136 MB / 1.105 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.7153, allocations: 127.9 kB / 1.105 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7153, allocations: 0 / 1.105 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.7155, allocations: 67.88 kB / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.7159, allocations: 39.84 kB / 1.106 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.7185, allocations: 1.721 MB / 1.107 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.7187, allocations: 0.7117 MB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.7189, allocations: 28.41 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.719, allocations: 31.42 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.719, allocations: 0 / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.7376, allocations: 3.317 MB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.866, allocations: 10.22 kB / 1.111 GB, free: 11.47 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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