Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 106.4 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7672 GB, free: 5.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.89 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8816/0.8838, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003298/0.8871, allocations: 1.669 MB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2/1.087, allocations: 154.8 MB / 1.431 GB, free: 336 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/1.087, allocations: 0 / 1.431 GB, free: 336 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/1.087, allocations: 23.8 kB / 1.431 GB, free: 312 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/1.088, allocations: 43.7 kB / 1.431 GB, free: 268 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/1.088, allocations: 151.4 kB / 1.431 GB, free: 116 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/1.089, allocations: 119.6 kB / 1.431 GB, free: 15.99 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/1.089, allocations: 25.39 kB / 1.431 GB, free: 15.96 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/1.09, allocations: 180.5 kB / 1.432 GB, free: 15.81 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/1.091, allocations: 43.83 kB / 1.432 GB, free: 15.77 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/1.091, allocations: 8 kB / 1.432 GB, free: 15.76 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/1.091, allocations: 187.6 kB / 1.432 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/1.091, allocations: 23.91 kB / 1.432 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/1.091, allocations: 43.73 kB / 1.432 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/1.092, allocations: 195.3 kB / 1.432 GB, free: 15.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.092, allocations: 0 / 1.432 GB, free: 15.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.064e-06/1.092, allocations: 0 / 1.432 GB, free: 15.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.092, allocations: 0 / 1.432 GB, free: 15.32 MB / 1.139 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.0008482/1.092, allocations: 458.6 kB / 1.433 GB, free: 14.82 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.092, allocations: 8.031 kB / 1.433 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/1.093, allocations: 42.73 kB / 1.433 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/1.094, allocations: 91.73 kB / 1.433 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/1.094, allocations: 210.8 kB / 1.433 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.094, allocations: 8 kB / 1.433 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/1.094, allocations: 4 kB / 1.433 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/1.094, allocations: 144.4 kB / 1.433 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.094, allocations: 3.938 kB / 1.433 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/1.094, allocations: 3.938 kB / 1.433 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/1.094, allocations: 4 kB / 1.433 GB, free: 14.26 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/1.095, allocations: 143.7 kB / 1.433 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/1.096, allocations: 408.6 kB / 1.434 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/1.097, allocations: 247.7 kB / 1.434 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/1.097, allocations: 68.8 kB / 1.434 GB, free: 13.33 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/1.097, allocations: 0 / 1.434 GB, free: 13.33 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/1.097, allocations: 38.55 kB / 1.434 GB, free: 13.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/1.097, allocations: 0 / 1.434 GB, free: 13.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.000845/1.098, allocations: 221.4 kB / 1.434 GB, free: 13.06 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.098, allocations: 51.41 kB / 1.434 GB, free: 13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/1.098, allocations: 141.1 kB / 1.434 GB, free: 12.85 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/1.098, allocations: 37.7 kB / 1.434 GB, free: 12.81 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/1.098, allocations: 108.2 kB / 1.434 GB, free: 12.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/1.098, allocations: 27.78 kB / 1.434 GB, free: 12.67 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/1.098, allocations: 17.72 kB / 1.434 GB, free: 12.65 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.098, allocations: 326.8 kB / 1.435 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/1.099, allocations: 55.94 kB / 1.435 GB, free: 12.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/1.099, allocations: 82.5 kB / 1.435 GB, free: 12.18 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/1.099, allocations: 116.8 kB / 1.435 GB, free: 12.06 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.099, allocations: 0 / 1.435 GB, free: 12.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005276/1.1, allocations: 161.4 kB / 1.435 GB, free: 11.89 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.1, allocations: 8 kB / 1.435 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/1.1, allocations: 0 / 1.435 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.1, allocations: 8 kB / 1.435 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/1.1, allocations: 27.97 kB / 1.435 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.1, allocations: 4.547 kB / 1.435 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.1, allocations: 15.97 kB / 1.435 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.1, allocations: 7.938 kB / 1.435 GB, free: 11.82 MB / 1.139 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 0.0001047/1.1, allocations: 116 kB / 1.435 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/1.1, allocations: 15.91 kB / 1.435 GB, free: 11.69 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/1.1, allocations: 20.7 kB / 1.435 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.1, allocations: 0 / 1.435 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.1, allocations: 0 / 1.435 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.1, allocations: 0 / 1.435 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/1.101, allocations: 478.2 kB / 1.436 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.101, allocations: 0 / 1.436 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/1.102, allocations: 27.97 kB / 1.436 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.102, allocations: 3.938 kB / 1.436 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.102, allocations: 0 / 1.436 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.102, allocations: 7.938 kB / 1.436 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.102, allocations: 4 kB / 1.436 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/1.102, allocations: 259.3 kB / 1.436 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/1.102, allocations: 88.98 kB / 1.436 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/1.102, allocations: 11.94 kB / 1.436 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.102, allocations: 15.92 kB / 1.436 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.103, allocations: 11.98 kB / 1.436 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.103, allocations: 0 / 1.436 GB, free: 10.68 MB / 1.139 GB Notification: Performance of sorting global known variables: time 8.729e-05/1.103, allocations: 113.9 kB / 1.436 GB, free: 10.57 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0 / 1.436 GB, free: 10.57 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002851/1.103, allocations: 31.94 kB / 1.436 GB, free: 10.54 MB / 1.139 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.001016/1.104, allocations: 0.8065 MB / 1.437 GB, free: 9.707 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005246/1.104, allocations: 119.9 kB / 1.437 GB, free: 9.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.104, allocations: 0 / 1.437 GB, free: 9.59 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/1.105, allocations: 71.88 kB / 1.437 GB, free: 9.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.105, allocations: 39.91 kB / 1.437 GB, free: 9.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/1.108, allocations: 1.739 MB / 1.439 GB, free: 7.664 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/1.108, allocations: 0.7002 MB / 1.44 GB, free: 6.938 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001301/1.108, allocations: 24.42 kB / 1.44 GB, free: 6.914 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/1.109, allocations: 27.42 kB / 1.44 GB, free: 6.887 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/1.109, allocations: 0 / 1.44 GB, free: 6.887 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/1.135, allocations: 3.375 MB / 1.443 GB, free: 3.645 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/9.421, allocations: 13.47 kB / 1.443 GB, free: 3.637 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFra1.phi in file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.615877099102363]