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.001755/0.001755, allocations: 113 kB / 18.94 MB, free: 2.934 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.002272/0.002272, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 8.027 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.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.001963/0.001963, allocations: 67.33 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4197, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.004178/0.4239, allocations: 1.672 MB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1979/0.6217, allocations: 154.9 MB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.6219, allocations: 0 / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.6221, allocations: 27.8 kB / 1.479 GB, free: 4.742 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.6224, allocations: 47.62 kB / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.6229, allocations: 147.3 kB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.6231, allocations: 119.6 kB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.6232, allocations: 29.56 kB / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.6247, allocations: 178.3 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.6248, allocations: 47.81 kB / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.6248, allocations: 8 kB / 1.479 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.6253, allocations: 187.6 kB / 1.48 GB, free: 4.012 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.6253, allocations: 23.86 kB / 1.48 GB, free: 3.988 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.6254, allocations: 47.8 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.6258, allocations: 187.3 kB / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6258, allocations: 0 / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6258, allocations: 0 / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6258, allocations: 4 kB / 1.48 GB, free: 3.754 MB / 1.17 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.0006484/0.6264, allocations: 381.5 kB / 1.48 GB, free: 3.352 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6265, allocations: 8.031 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.6265, allocations: 46.67 kB / 1.48 GB, free: 3.289 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.6275, allocations: 83.8 kB / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.6278, allocations: 150.4 kB / 1.48 GB, free: 3.035 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.6278, allocations: 4 kB / 1.48 GB, free: 3.031 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.6278, allocations: 8 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.6283, allocations: 141.5 kB / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6283, allocations: 0 / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6283, allocations: 7.875 kB / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6283, allocations: 0 / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.6289, allocations: 143.8 kB / 1.481 GB, free: 2.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.6297, allocations: 379.5 kB / 1.481 GB, free: 2.316 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.6304, allocations: 174.5 kB / 1.481 GB, free: 2.137 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.6307, allocations: 72.8 kB / 1.481 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6307, allocations: 7.938 kB / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6307, allocations: 30.56 kB / 1.481 GB, free: 2.016 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 3.347e-06/0.6307, allocations: 3.984 kB / 1.481 GB, free: 2.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.000819/0.6315, allocations: 213.4 kB / 1.482 GB, free: 1.797 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6316, allocations: 51.41 kB / 1.482 GB, free: 1.734 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.6317, allocations: 150.5 kB / 1.482 GB, free: 1.578 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6317, allocations: 29.7 kB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.6318, allocations: 108.1 kB / 1.482 GB, free: 1.434 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.6319, allocations: 27.89 kB / 1.482 GB, free: 1.406 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.6319, allocations: 25.7 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6321, allocations: 326.8 kB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.6323, allocations: 51.95 kB / 1.482 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.6325, allocations: 78.52 kB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.6329, allocations: 120.8 kB / 1.483 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6329, allocations: 0 / 1.483 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004789/0.6334, allocations: 157.5 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6334, allocations: 7.984 kB / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6334, allocations: 0 / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6334, allocations: 8 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.6336, allocations: 27.97 kB / 1.483 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6337, allocations: 0 / 1.483 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.6338, allocations: 11.98 kB / 1.483 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6338, allocations: 11.92 kB / 1.483 GB, free: 0.5625 MB / 1.17 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.0001102/0.6339, allocations: 123.4 kB / 1.483 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.634, allocations: 15.91 kB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.634, allocations: 16.72 kB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.634, allocations: 0 / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.634, allocations: 7.938 kB / 1.483 GB, free: 400 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.634, allocations: 3.984 kB / 1.483 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.6349, allocations: 425.5 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6349, allocations: 0 / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.6351, allocations: 27.95 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6351, allocations: 4 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.6351, allocations: 3.938 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6351, allocations: 3.938 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6351, allocations: 11.88 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.6356, allocations: 260 kB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.6357, allocations: 7.953 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.6357, allocations: 8 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.6359, allocations: 19.91 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.6359, allocations: 7.984 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6359, allocations: 4 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.636, allocations: 109.1 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.636, allocations: 0 / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002813/0.6363, allocations: 31.92 kB / 1.484 GB, free: 15.42 MB / 1.186 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.0009393/0.6372, allocations: 0.806 MB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.6377, allocations: 127.9 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6377, allocations: 0 / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.638, allocations: 71.88 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.6383, allocations: 35.91 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.6411, allocations: 1.731 MB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.6414, allocations: 0.7079 MB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.6415, allocations: 28.41 kB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.6416, allocations: 31.42 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/0.6416, allocations: 0 / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.6714, allocations: 3.511 MB / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.49, allocations: 9.375 kB / 1.491 GB, free: 8.387 MB / 1.186 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.6508966170004]