Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005414/0.005418, allocations: 100.4 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 193.2 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.06 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.245, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002991/0.248, allocations: 1.638 MB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.3951, allocations: 151.6 MB / 1.237 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3953, allocations: 4 kB / 1.237 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3954, allocations: 15.81 kB / 1.237 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.3957, allocations: 39.7 kB / 1.237 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.3961, allocations: 155.4 kB / 1.237 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3963, allocations: 119.6 kB / 1.237 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3965, allocations: 24.22 kB / 1.237 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3976, allocations: 174.2 kB / 1.238 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3977, allocations: 43.78 kB / 1.238 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3978, allocations: 8 kB / 1.238 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.3981, allocations: 179.7 kB / 1.238 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.3982, allocations: 19.92 kB / 1.238 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.3982, allocations: 51.72 kB / 1.238 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.3986, allocations: 188.3 kB / 1.238 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3986, allocations: 3.984 kB / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3986, allocations: 0 / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3987, allocations: 7.938 kB / 1.238 GB, free: 7.266 MB / 0.9981 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.000657/0.3993, allocations: 438.9 kB / 1.238 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3994, allocations: 12.03 kB / 1.238 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3994, allocations: 34.75 kB / 1.239 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.4003, allocations: 87.75 kB / 1.239 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.4006, allocations: 198.8 kB / 1.239 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4006, allocations: 8 kB / 1.239 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4006, allocations: 4 kB / 1.239 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.401, allocations: 151.2 kB / 1.239 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.401, allocations: 0 / 1.239 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4011, allocations: 3.938 kB / 1.239 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.4011, allocations: 4 kB / 1.239 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.4016, allocations: 139.9 kB / 1.239 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.4024, allocations: 408.5 kB / 1.239 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.4031, allocations: 255.7 kB / 1.24 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.4034, allocations: 72.8 kB / 1.24 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4034, allocations: 3.984 kB / 1.24 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4034, allocations: 42.5 kB / 1.24 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.4035, allocations: 0 / 1.24 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0007785/0.4042, allocations: 225.5 kB / 1.24 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4043, allocations: 51.41 kB / 1.24 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4044, allocations: 147.7 kB / 1.24 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4044, allocations: 33.7 kB / 1.24 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.4045, allocations: 96.14 kB / 1.24 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4045, allocations: 31.55 kB / 1.24 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.4046, allocations: 25.64 kB / 1.24 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4047, allocations: 330.8 kB / 1.241 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4049, allocations: 55.95 kB / 1.241 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4051, allocations: 78.58 kB / 1.241 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.4056, allocations: 124.7 kB / 1.241 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4056, allocations: 0 / 1.241 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000489/0.4061, allocations: 153.5 kB / 1.241 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4061, allocations: 10.19 kB / 1.241 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4061, allocations: 4 kB / 1.241 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4061, allocations: 0 / 1.241 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4063, allocations: 35.95 kB / 1.241 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4064, allocations: 0 / 1.241 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.4065, allocations: 11.98 kB / 1.241 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.4065, allocations: 7.938 kB / 1.241 GB, free: 3.789 MB / 0.9981 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.0001017/0.4066, allocations: 121.8 kB / 1.241 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.4067, allocations: 15.81 kB / 1.241 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.4067, allocations: 16.72 kB / 1.241 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4068, allocations: 0 / 1.241 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4068, allocations: 0 / 1.241 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4068, allocations: 0 / 1.241 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.4076, allocations: 470.2 kB / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4076, allocations: 0 / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.4078, allocations: 31.91 kB / 1.242 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4078, allocations: 0 / 1.242 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4078, allocations: 3.984 kB / 1.242 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4078, allocations: 7.938 kB / 1.242 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4078, allocations: 4 kB / 1.242 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.4084, allocations: 251.3 kB / 1.242 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.4084, allocations: 88.92 kB / 1.242 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4085, allocations: 4 kB / 1.242 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4087, allocations: 15.92 kB / 1.242 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4087, allocations: 15.92 kB / 1.242 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4087, allocations: 0 / 1.242 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.4088, allocations: 113.3 kB / 1.242 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.783e-06/0.4088, allocations: 0 / 1.242 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002702/0.4091, allocations: 31.94 kB / 1.242 GB, free: 2.523 MB / 0.9981 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.0008562/0.41, allocations: 0.8021 MB / 1.243 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.4105, allocations: 132.3 kB / 1.243 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4105, allocations: 0 / 1.243 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.4107, allocations: 68.09 kB / 1.243 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4111, allocations: 40 kB / 1.243 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4137, allocations: 1.724 MB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.4139, allocations: 0.7041 MB / 1.246 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.414, allocations: 36.42 kB / 1.246 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.4141, allocations: 31.42 kB / 1.246 GB, free: 14.86 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.4141, allocations: 0 / 1.246 GB, free: 14.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4319, allocations: 3.409 MB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.967, allocations: 5.562 kB / 1.249 GB, free: 11.58 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,masFra1.phi,masFra1.X[1],masFra2.X[1],masFra1.T Variables in the result:P.k,P.y,Phi.duration,Phi.height,Phi.offset,Phi.startTime,Phi.y,T.duration,T.height,T.offset,T.startTime,T.y,masFra1.T,masFra1.X[1],masFra1.X[2],masFra1.p,masFra1.p_in,masFra1.phi,masFra1.use_p_in,masFra2.T,masFra2.X[1],masFra2.X[2],masFra2.p,masFra2.phi,masFra2.use_p_in,time