Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001599/0.001599, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.28/3.28, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_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.002063/0.002063, allocations: 63.28 kB / 1.153 GB, free: 25.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4054, allocations: 176.1 MB / 1.325 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002965/0.4084, allocations: 1.637 MB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5879, allocations: 133.2 MB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.588, allocations: 4 kB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.5882, allocations: 15.8 kB / 1.457 GB, free: 11.05 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.5885, allocations: 55.69 kB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.589, allocations: 143.4 kB / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.5892, allocations: 119.6 kB / 1.457 GB, free: 10.74 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.5894, allocations: 25.48 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.5908, allocations: 178.7 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.5909, allocations: 35.84 kB / 1.457 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.5909, allocations: 8 kB / 1.457 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.5913, allocations: 179.7 kB / 1.457 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.5914, allocations: 23.86 kB / 1.457 GB, free: 10.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.5914, allocations: 31.86 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.5919, allocations: 203.2 kB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5919, allocations: 4 kB / 1.458 GB, free: 10.08 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5919, allocations: 0 / 1.458 GB, free: 10.08 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5919, allocations: 0 / 1.458 GB, free: 10.08 MB / 1.154 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.0006685/0.5926, allocations: 373.5 kB / 1.458 GB, free: 9.688 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5926, allocations: 12.03 kB / 1.458 GB, free: 9.676 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.5926, allocations: 38.75 kB / 1.458 GB, free: 9.629 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.5936, allocations: 95.78 kB / 1.458 GB, free: 9.535 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.5939, allocations: 145 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5939, allocations: 8 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.5939, allocations: 8 kB / 1.458 GB, free: 9.352 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.5944, allocations: 133.5 kB / 1.458 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5944, allocations: 0 / 1.458 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5944, allocations: 7.938 kB / 1.458 GB, free: 9.207 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5944, allocations: 8 kB / 1.458 GB, free: 9.199 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.595, allocations: 127.9 kB / 1.459 GB, free: 9.074 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.5958, allocations: 367.5 kB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.5965, allocations: 174.5 kB / 1.459 GB, free: 8.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.5968, allocations: 80.78 kB / 1.459 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.5968, allocations: 0 / 1.459 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5968, allocations: 34.56 kB / 1.459 GB, free: 8.367 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.5968, allocations: 0 / 1.459 GB, free: 8.367 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0008047/0.5976, allocations: 213.5 kB / 1.459 GB, free: 8.152 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5977, allocations: 55.34 kB / 1.46 GB, free: 8.086 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.5978, allocations: 148.9 kB / 1.46 GB, free: 7.934 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5979, allocations: 33.7 kB / 1.46 GB, free: 7.895 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.5979, allocations: 100.1 kB / 1.46 GB, free: 7.793 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.598, allocations: 35.86 kB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.598, allocations: 25.7 kB / 1.46 GB, free: 7.727 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5982, allocations: 322.8 kB / 1.46 GB, free: 7.402 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.5984, allocations: 51.94 kB / 1.46 GB, free: 7.352 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.5987, allocations: 133.9 kB / 1.46 GB, free: 7.199 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.5991, allocations: 116.8 kB / 1.46 GB, free: 7.082 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5991, allocations: 0 / 1.46 GB, free: 7.082 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005291/0.5996, allocations: 161.5 kB / 1.461 GB, free: 6.918 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5997, allocations: 4 kB / 1.461 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5997, allocations: 0 / 1.461 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5997, allocations: 3.984 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.5999, allocations: 27.97 kB / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5999, allocations: 3.984 kB / 1.461 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.6001, allocations: 15.98 kB / 1.461 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.6001, allocations: 11.94 kB / 1.461 GB, free: 6.852 MB / 1.154 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.000117/0.6002, allocations: 126.2 kB / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.6002, allocations: 15.91 kB / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.6003, allocations: 12.72 kB / 1.461 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.6003, allocations: 4 kB / 1.461 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6003, allocations: 0 / 1.461 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6003, allocations: 4 kB / 1.461 GB, free: 6.68 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.6011, allocations: 417.4 kB / 1.461 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6011, allocations: 0 / 1.461 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.6013, allocations: 35.97 kB / 1.461 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6014, allocations: 0 / 1.461 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6014, allocations: 3.938 kB / 1.461 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6014, allocations: 3.938 kB / 1.461 GB, free: 6.18 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6014, allocations: 0 / 1.461 GB, free: 6.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.6019, allocations: 267.9 kB / 1.461 GB, free: 5.902 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.602, allocations: 7.953 kB / 1.462 GB, free: 5.895 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.602, allocations: 4 kB / 1.462 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6022, allocations: 19.91 kB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.6022, allocations: 7.984 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.6022, allocations: 8 kB / 1.462 GB, free: 5.855 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.6023, allocations: 113.1 kB / 1.462 GB, free: 5.746 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6023, allocations: 0 / 1.462 GB, free: 5.746 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000286/0.6026, allocations: 31.94 kB / 1.462 GB, free: 5.715 MB / 1.154 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.0009651/0.6036, allocations: 0.8021 MB / 1.462 GB, free: 4.887 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.6041, allocations: 124 kB / 1.463 GB, free: 4.766 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6041, allocations: 0 / 1.463 GB, free: 4.766 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.6043, allocations: 67.88 kB / 1.463 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.6047, allocations: 37.73 kB / 1.463 GB, free: 4.664 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6074, allocations: 1.741 MB / 1.464 GB, free: 2.844 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.901e-05/0.6075, allocations: 88.19 kB / 1.464 GB, free: 2.734 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.6077, allocations: 20.42 kB / 1.464 GB, free: 2.715 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.6077, allocations: 31.42 kB / 1.465 GB, free: 2.684 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/0.6077, allocations: 4 kB / 1.465 GB, free: 2.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.6408, allocations: 4.082 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.98, allocations: 5.812 kB / 1.469 GB, free: 14.77 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.172954855952412]