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.0008374/0.0008374, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001284/0.001284, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.704/1.704, allocations: 359 MB / 0.6037 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.954e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002019/0.002038, allocations: 1.626 MB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5415/0.5435, allocations: 133.2 MB / 1.082 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.5436, allocations: 0 / 1.082 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.5438, allocations: 18.33 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.544, allocations: 46.88 kB / 1.082 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.5442, allocations: 157.4 kB / 1.082 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.5444, allocations: 122.6 kB / 1.082 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.5445, allocations: 23.62 kB / 1.083 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.5453, allocations: 203.9 kB / 1.083 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.5454, allocations: 34.38 kB / 1.083 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.5454, allocations: 5.312 kB / 1.083 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.5457, allocations: 177.7 kB / 1.083 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.5457, allocations: 21.73 kB / 1.083 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.5458, allocations: 35 kB / 1.083 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.546, allocations: 211.5 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.546, allocations: 3.562 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.546, allocations: 2.844 kB / 1.083 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.5461, allocations: 0 / 1.083 GB, free: 39.84 MB / 0.9948 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.0004011/0.5465, allocations: 370.1 kB / 1.084 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5465, allocations: 8.781 kB / 1.084 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.5465, allocations: 37.31 kB / 1.084 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.5471, allocations: 90.03 kB / 1.084 GB, free: 39.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.5472, allocations: 148.2 kB / 1.084 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5473, allocations: 5.906 kB / 1.084 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.5473, allocations: 9.906 kB / 1.084 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.5476, allocations: 141.5 kB / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5476, allocations: 0 / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.5476, allocations: 0 / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5476, allocations: 2.938 kB / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.5479, allocations: 143.1 kB / 1.084 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.5484, allocations: 362.2 kB / 1.084 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.5487, allocations: 169.4 kB / 1.085 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.5489, allocations: 72.81 kB / 1.085 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.5489, allocations: 2.781 kB / 1.085 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.5489, allocations: 30.56 kB / 1.085 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.5489, allocations: 5.031 kB / 1.085 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.5493, allocations: 214.5 kB / 1.085 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.5494, allocations: 54.09 kB / 1.085 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.5494, allocations: 149 kB / 1.085 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.5494, allocations: 25.7 kB / 1.085 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5495, allocations: 106.6 kB / 1.085 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.5495, allocations: 29.75 kB / 1.085 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.5495, allocations: 32.16 kB / 1.085 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.5496, allocations: 320 kB / 1.086 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5497, allocations: 51.69 kB / 1.086 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.5498, allocations: 126.8 kB / 1.086 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.55, allocations: 132 kB / 1.086 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.55, allocations: 0 / 1.086 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002353/0.5503, allocations: 157.6 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5503, allocations: 5.094 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5503, allocations: 6.047 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5503, allocations: 0 / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5504, allocations: 27.78 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5504, allocations: 2.5 kB / 1.086 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.5505, allocations: 14.78 kB / 1.086 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.5505, allocations: 13.03 kB / 1.086 GB, free: 38.15 MB / 0.9948 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 4.672e-05/0.5505, allocations: 123.2 kB / 1.086 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.5505, allocations: 9.016 kB / 1.086 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.5506, allocations: 16.69 kB / 1.086 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5506, allocations: 2.625 kB / 1.086 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5506, allocations: 0 / 1.086 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.5506, allocations: 0 / 1.086 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.551, allocations: 428.1 kB / 1.087 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.551, allocations: 0 / 1.087 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.5511, allocations: 34.27 kB / 1.087 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.5511, allocations: 1.094 kB / 1.087 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.5511, allocations: 2.594 kB / 1.087 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5511, allocations: 11.5 kB / 1.087 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5511, allocations: 0 / 1.087 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.5513, allocations: 256.1 kB / 1.087 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.5513, allocations: 10.58 kB / 1.087 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.5513, allocations: 1.188 kB / 1.087 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.5514, allocations: 22.89 kB / 1.087 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.5514, allocations: 10.31 kB / 1.087 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.5514, allocations: 3 kB / 1.087 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.5515, allocations: 117.3 kB / 1.087 GB, free: 37.51 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5515, allocations: 0 / 1.087 GB, free: 37.51 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001701/0.5517, allocations: 43.72 kB / 1.087 GB, free: 37.5 MB / 0.9948 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.0004166/0.5521, allocations: 0.7961 MB / 1.088 GB, free: 36.83 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.5523, allocations: 128.8 kB / 1.088 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5523, allocations: 0 / 1.088 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5524, allocations: 64.28 kB / 1.088 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5527, allocations: 33.98 kB / 1.088 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.554, allocations: 1.728 MB / 1.09 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.554, allocations: 90.75 kB / 1.09 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.778e-05/0.5541, allocations: 30.97 kB / 1.09 GB, free: 35.53 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.5541, allocations: 32.02 kB / 1.09 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.5541, allocations: 3.938 kB / 1.09 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.5687, allocations: 4.202 MB / 1.094 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.628, allocations: 15.23 kB / 1.094 GB, free: 34.46 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.79442135244608]