Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_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.005976/0.005976, allocations: 99.66 kB / 15.73 MB, free: 6.051 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.001301/0.001301, allocations: 186 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2861, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002796/0.289, allocations: 1.641 MB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7748/1.064, allocations: 151.5 MB / 1.316 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/1.064, allocations: 2.094 kB / 1.316 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/1.064, allocations: 23.28 kB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/1.064, allocations: 40.61 kB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/1.065, allocations: 146.2 kB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/1.065, allocations: 125.1 kB / 1.316 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/1.065, allocations: 31.98 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/1.066, allocations: 175 kB / 1.316 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/1.066, allocations: 45.69 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/1.066, allocations: 7.281 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/1.067, allocations: 179.4 kB / 1.316 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/1.067, allocations: 22.97 kB / 1.316 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/1.067, allocations: 49.2 kB / 1.317 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/1.067, allocations: 193.7 kB / 1.317 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.067, allocations: 0 / 1.317 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/1.067, allocations: 0 / 1.317 GB, free: 11.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.067, allocations: 0 / 1.317 GB, free: 11.86 MB / 1.014 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.0005894/1.068, allocations: 441.2 kB / 1.317 GB, free: 11.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.068, allocations: 9.938 kB / 1.317 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/1.068, allocations: 42.47 kB / 1.317 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/1.069, allocations: 81.03 kB / 1.317 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.069, allocations: 207.6 kB / 1.317 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/1.069, allocations: 6.375 kB / 1.317 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.069, allocations: 12.84 kB / 1.317 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/1.07, allocations: 141 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/1.07, allocations: 1.062 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.07, allocations: 0 / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.07, allocations: 6.125 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/1.07, allocations: 139.2 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/1.071, allocations: 415.5 kB / 1.318 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/1.072, allocations: 249.4 kB / 1.318 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/1.072, allocations: 72.14 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.072, allocations: 13.02 kB / 1.318 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.072, allocations: 39.28 kB / 1.319 GB, free: 10.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/1.072, allocations: 0 / 1.319 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0007869/1.073, allocations: 208.1 kB / 1.319 GB, free: 10.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/1.073, allocations: 53.44 kB / 1.319 GB, free: 10.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.073, allocations: 149.3 kB / 1.319 GB, free: 10.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.073, allocations: 26.58 kB / 1.319 GB, free: 10.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/1.073, allocations: 101.3 kB / 1.319 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/1.073, allocations: 28.56 kB / 1.319 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/1.073, allocations: 23.09 kB / 1.319 GB, free: 10.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.073, allocations: 328.6 kB / 1.319 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.073, allocations: 55.8 kB / 1.319 GB, free: 10.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/1.074, allocations: 79.83 kB / 1.32 GB, free: 9.992 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/1.074, allocations: 122.9 kB / 1.32 GB, free: 9.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.074, allocations: 0.6094 kB / 1.32 GB, free: 9.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005037/1.075, allocations: 162.8 kB / 1.32 GB, free: 9.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.075, allocations: 5.344 kB / 1.32 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.075, allocations: 1.094 kB / 1.32 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.075, allocations: 0.6094 kB / 1.32 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.075, allocations: 31.25 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.075, allocations: 2.219 kB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.075, allocations: 22.98 kB / 1.32 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/1.075, allocations: 7.062 kB / 1.32 GB, free: 9.922 MB / 1.014 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 9.633e-05/1.075, allocations: 123.4 kB / 1.32 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/1.075, allocations: 8.688 kB / 1.32 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/1.075, allocations: 20.39 kB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.075, allocations: 1.094 kB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.075, allocations: 4 kB / 1.32 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.075, allocations: 1.609 kB / 1.32 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/1.076, allocations: 462.7 kB / 1.32 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.076, allocations: 1.75 kB / 1.32 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/1.076, allocations: 30.62 kB / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.076, allocations: 1.281 kB / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.076, allocations: 1.922 kB / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.076, allocations: 4.734 kB / 1.32 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.076, allocations: 1.406 kB / 1.32 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/1.077, allocations: 264.5 kB / 1.321 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/1.077, allocations: 86.25 kB / 1.321 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/1.077, allocations: 0 / 1.321 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.077, allocations: 22.19 kB / 1.321 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/1.077, allocations: 9.547 kB / 1.321 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/1.077, allocations: 7.078 kB / 1.321 GB, free: 9.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.816e-05/1.077, allocations: 114.6 kB / 1.321 GB, free: 9.148 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.077, allocations: 0 / 1.321 GB, free: 9.148 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002926/1.078, allocations: 27.73 kB / 1.321 GB, free: 9.148 MB / 1.014 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.0009087/1.079, allocations: 0.8056 MB / 1.322 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005103/1.079, allocations: 128 kB / 1.322 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.079, allocations: 5.219 kB / 1.322 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/1.079, allocations: 65.55 kB / 1.322 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/1.08, allocations: 43.08 kB / 1.322 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/1.082, allocations: 1.73 MB / 1.324 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.083, allocations: 0.7031 MB / 1.324 GB, free: 6.547 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001466/1.083, allocations: 38.11 kB / 1.324 GB, free: 6.527 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/1.083, allocations: 31.3 kB / 1.324 GB, free: 6.52 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.083, allocations: 0 / 1.324 GB, free: 6.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/1.107, allocations: 3.361 MB / 1.328 GB, free: 6.055 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.811, allocations: 5.234 kB / 1.328 GB, free: 6.051 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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