Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 497.2 MB / 0.7811 GB, free: 12.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.134 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 173.9 MB / 1.304 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003317/1.029, allocations: 1.659 MB / 1.306 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2196/1.249, allocations: 152 MB / 1.454 GB, free: 10.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/1.249, allocations: 0 / 1.454 GB, free: 10.66 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/1.249, allocations: 19.8 kB / 1.454 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/1.249, allocations: 39.7 kB / 1.454 GB, free: 10.6 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/1.25, allocations: 159.4 kB / 1.454 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/1.25, allocations: 111.6 kB / 1.454 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/1.25, allocations: 25.33 kB / 1.454 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/1.252, allocations: 174.3 kB / 1.455 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/1.252, allocations: 43.78 kB / 1.455 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/1.252, allocations: 8 kB / 1.455 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/1.252, allocations: 183.6 kB / 1.455 GB, free: 9.926 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/1.252, allocations: 19.92 kB / 1.455 GB, free: 9.906 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/1.252, allocations: 55.73 kB / 1.455 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/1.253, allocations: 183.3 kB / 1.455 GB, free: 9.672 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.253, allocations: 0 / 1.455 GB, free: 9.672 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.833e-06/1.253, allocations: 0 / 1.455 GB, free: 9.672 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.253, allocations: 0 / 1.455 GB, free: 9.672 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.0007555/1.253, allocations: 450.6 kB / 1.455 GB, free: 9.184 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.253, allocations: 12.03 kB / 1.455 GB, free: 9.172 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/1.253, allocations: 42.67 kB / 1.455 GB, free: 9.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/1.254, allocations: 87.75 kB / 1.456 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/1.255, allocations: 202.9 kB / 1.456 GB, free: 8.797 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.255, allocations: 8 kB / 1.456 GB, free: 8.789 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.255, allocations: 8 kB / 1.456 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/1.255, allocations: 129.6 kB / 1.456 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.255, allocations: 0 / 1.456 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/1.255, allocations: 7.938 kB / 1.456 GB, free: 8.641 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.255, allocations: 4 kB / 1.456 GB, free: 8.637 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/1.256, allocations: 139.8 kB / 1.456 GB, free: 8.5 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008777/1.257, allocations: 412.4 kB / 1.456 GB, free: 8.047 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/1.257, allocations: 251.7 kB / 1.457 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/1.258, allocations: 72.8 kB / 1.457 GB, free: 7.699 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/1.258, allocations: 4 kB / 1.457 GB, free: 7.695 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.258, allocations: 30.56 kB / 1.457 GB, free: 7.656 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/1.258, allocations: 0 / 1.457 GB, free: 7.656 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.00082/1.259, allocations: 221.4 kB / 1.457 GB, free: 7.434 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.259, allocations: 55.41 kB / 1.457 GB, free: 7.367 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/1.259, allocations: 145.3 kB / 1.457 GB, free: 7.219 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.259, allocations: 29.7 kB / 1.457 GB, free: 7.184 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/1.259, allocations: 104.1 kB / 1.457 GB, free: 7.078 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/1.259, allocations: 23.94 kB / 1.457 GB, free: 7.055 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/1.259, allocations: 25.7 kB / 1.457 GB, free: 7.023 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.259, allocations: 330.8 kB / 1.458 GB, free: 6.691 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.259, allocations: 51.94 kB / 1.458 GB, free: 6.641 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/1.26, allocations: 74.52 kB / 1.458 GB, free: 6.559 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/1.26, allocations: 120.8 kB / 1.458 GB, free: 6.438 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.26, allocations: 0 / 1.458 GB, free: 6.438 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000507/1.26, allocations: 173.4 kB / 1.458 GB, free: 6.262 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.26, allocations: 7.938 kB / 1.458 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.26, allocations: 0 / 1.458 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.261, allocations: 4 kB / 1.458 GB, free: 6.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/1.261, allocations: 23.97 kB / 1.458 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/1.261, allocations: 0 / 1.458 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/1.261, allocations: 27.92 kB / 1.458 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.261, allocations: 7.922 kB / 1.458 GB, free: 6.191 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.0001252/1.261, allocations: 121.8 kB / 1.458 GB, free: 6.062 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/1.261, allocations: 11.91 kB / 1.458 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/1.261, allocations: 16.66 kB / 1.458 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.261, allocations: 7.984 kB / 1.458 GB, free: 6.023 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.261, allocations: 0 / 1.458 GB, free: 6.023 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.261, allocations: 7.938 kB / 1.458 GB, free: 6.016 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009027/1.262, allocations: 454.9 kB / 1.459 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.262, allocations: 0 / 1.459 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.262, allocations: 35.97 kB / 1.459 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.262, allocations: 0 / 1.459 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.262, allocations: 0 / 1.459 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/1.262, allocations: 7.875 kB / 1.459 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.262, allocations: 80 / 1.459 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/1.263, allocations: 263.3 kB / 1.459 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/1.263, allocations: 85.06 kB / 1.459 GB, free: 5.098 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/1.263, allocations: 0 / 1.459 GB, free: 5.098 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.263, allocations: 23.91 kB / 1.459 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/1.263, allocations: 7.984 kB / 1.459 GB, free: 5.066 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.263, allocations: 4 kB / 1.459 GB, free: 5.062 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001036/1.263, allocations: 118.3 kB / 1.459 GB, free: 4.949 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.263, allocations: 0 / 1.459 GB, free: 4.949 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000304/1.264, allocations: 31.94 kB / 1.459 GB, free: 4.918 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.001008/1.265, allocations: 0.7982 MB / 1.46 GB, free: 4.094 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005207/1.265, allocations: 123.9 kB / 1.46 GB, free: 3.973 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.265, allocations: 0 / 1.46 GB, free: 3.973 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/1.265, allocations: 67.88 kB / 1.46 GB, free: 3.906 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/1.266, allocations: 37.25 kB / 1.46 GB, free: 3.871 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/1.269, allocations: 1.742 MB / 1.462 GB, free: 2.051 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.269, allocations: 0.7041 MB / 1.463 GB, free: 1.32 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001478/1.269, allocations: 32.44 kB / 1.463 GB, free: 1.289 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/1.269, allocations: 31.42 kB / 1.463 GB, free: 1.258 MB / 1.139 GB Notification: Performance of SimCode: time 1.032e-06/1.269, allocations: 112 / 1.463 GB, free: 1.258 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/1.299, allocations: 3.376 MB / 1.466 GB, free: 14.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/9.586, allocations: 11.5 kB / 1.466 GB, free: 14.03 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.039981128182262]