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.001901/0.001901, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00277/0.00277, allocations: 218.1 kB / 22.24 MB, free: 5.254 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.793 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.281/3.281, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.001994/0.001994, allocations: 61.62 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3974, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002988/0.4004, allocations: 1.637 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.5919, allocations: 133.2 MB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.592, allocations: 3.938 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.5922, allocations: 19.8 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.5926, allocations: 43.7 kB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.5931, allocations: 151.4 kB / 1.458 GB, free: 9.945 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.5934, allocations: 119.6 kB / 1.458 GB, free: 9.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.5935, allocations: 25.48 kB / 1.458 GB, free: 9.797 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.5951, allocations: 173.2 kB / 1.458 GB, free: 9.652 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.5952, allocations: 51.77 kB / 1.458 GB, free: 9.602 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.5952, allocations: 4 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.5957, allocations: 183.6 kB / 1.458 GB, free: 9.418 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.5958, allocations: 27.92 kB / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.5958, allocations: 35.81 kB / 1.458 GB, free: 9.355 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.5963, allocations: 203.2 kB / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5963, allocations: 0 / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5963, allocations: 0 / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.5963, allocations: 0 / 1.459 GB, free: 9.156 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.0007262/0.597, allocations: 377.5 kB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5971, allocations: 11.97 kB / 1.459 GB, free: 8.746 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.5971, allocations: 38.75 kB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.5981, allocations: 91.73 kB / 1.459 GB, free: 8.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.5984, allocations: 145 kB / 1.459 GB, free: 8.441 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5984, allocations: 12 kB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5984, allocations: 4 kB / 1.459 GB, free: 8.426 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.5989, allocations: 133.6 kB / 1.459 GB, free: 8.289 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5989, allocations: 0 / 1.459 GB, free: 8.289 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5989, allocations: 11.88 kB / 1.459 GB, free: 8.277 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5989, allocations: 0 / 1.459 GB, free: 8.277 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.5994, allocations: 139.9 kB / 1.459 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.6003, allocations: 367.6 kB / 1.46 GB, free: 7.738 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.601, allocations: 166.6 kB / 1.46 GB, free: 7.566 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.6012, allocations: 68.8 kB / 1.46 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.6013, allocations: 4 kB / 1.46 GB, free: 7.492 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.6013, allocations: 30.56 kB / 1.46 GB, free: 7.453 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.6013, allocations: 0 / 1.46 GB, free: 7.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0007985/0.6021, allocations: 221.4 kB / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6021, allocations: 51.41 kB / 1.46 GB, free: 7.168 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.6023, allocations: 148.7 kB / 1.46 GB, free: 7.016 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.6023, allocations: 33.64 kB / 1.46 GB, free: 6.977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.6024, allocations: 104.1 kB / 1.461 GB, free: 6.871 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.6024, allocations: 31.89 kB / 1.461 GB, free: 6.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.6025, allocations: 25.7 kB / 1.461 GB, free: 6.809 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6026, allocations: 326.8 kB / 1.461 GB, free: 6.48 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6029, allocations: 55.95 kB / 1.461 GB, free: 6.426 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.6031, allocations: 125.9 kB / 1.461 GB, free: 6.281 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.6035, allocations: 120.8 kB / 1.461 GB, free: 6.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6035, allocations: 3.938 kB / 1.461 GB, free: 6.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004946/0.604, allocations: 153.5 kB / 1.461 GB, free: 6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6041, allocations: 4 kB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6041, allocations: 3.984 kB / 1.461 GB, free: 5.992 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6041, allocations: 4 kB / 1.461 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.6043, allocations: 27.97 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6043, allocations: 0.5469 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.6044, allocations: 19.98 kB / 1.461 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6045, allocations: 3.938 kB / 1.461 GB, free: 5.938 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.0001386/0.6046, allocations: 134.2 kB / 1.462 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.6046, allocations: 15.91 kB / 1.462 GB, free: 5.781 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.6047, allocations: 12.72 kB / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.6047, allocations: 0 / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6047, allocations: 0 / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6047, allocations: 3.984 kB / 1.462 GB, free: 5.762 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.6056, allocations: 421.5 kB / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6056, allocations: 0 / 1.462 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.6058, allocations: 27.97 kB / 1.462 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.6058, allocations: 3.984 kB / 1.462 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.6058, allocations: 7.938 kB / 1.462 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6058, allocations: 7.938 kB / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6058, allocations: 0 / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.6064, allocations: 259.3 kB / 1.462 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.6064, allocations: 11.94 kB / 1.462 GB, free: 4.973 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.6064, allocations: 4 kB / 1.462 GB, free: 4.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.6066, allocations: 19.92 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.6067, allocations: 7.984 kB / 1.462 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.6067, allocations: 3.938 kB / 1.462 GB, free: 4.938 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.088e-05/0.6068, allocations: 117.7 kB / 1.462 GB, free: 4.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6068, allocations: 0 / 1.462 GB, free: 4.824 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002926/0.6071, allocations: 27.94 kB / 1.462 GB, free: 4.797 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.001003/0.6081, allocations: 0.8098 MB / 1.463 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.6086, allocations: 123.9 kB / 1.463 GB, free: 3.84 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6086, allocations: 0 / 1.463 GB, free: 3.84 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.6088, allocations: 63.88 kB / 1.463 GB, free: 3.777 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.6092, allocations: 45.88 kB / 1.463 GB, free: 3.734 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.6123, allocations: 1.731 MB / 1.465 GB, free: 1.922 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.6124, allocations: 92.19 kB / 1.465 GB, free: 1.809 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000144/0.6126, allocations: 20.42 kB / 1.465 GB, free: 1.789 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.6127, allocations: 31.41 kB / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of SimCode: time 6.72e-07/0.6127, allocations: 0 / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.6463, allocations: 4.122 MB / 1.469 GB, free: 13.81 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.81, allocations: 7.703 kB / 1.469 GB, free: 13.81 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: 18.982925098011037]