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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009814/0.009814, allocations: 107.6 kB / 15.74 MB, free: 5.984 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.001793/0.001793, allocations: 196.9 kB / 16.68 MB, free: 5.906 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2915, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003094/0.2947, allocations: 1.645 MB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8089/1.104, allocations: 151.5 MB / 1.357 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/1.104, allocations: 5.344 kB / 1.357 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/1.104, allocations: 13.47 kB / 1.357 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/1.104, allocations: 52.59 kB / 1.357 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/1.105, allocations: 144.1 kB / 1.357 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/1.105, allocations: 117 kB / 1.357 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/1.105, allocations: 31 kB / 1.357 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/1.106, allocations: 166.5 kB / 1.357 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/1.106, allocations: 45.73 kB / 1.357 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/1.106, allocations: 11.5 kB / 1.357 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/1.107, allocations: 177.6 kB / 1.358 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/1.107, allocations: 25.28 kB / 1.358 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/1.107, allocations: 49.05 kB / 1.358 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/1.107, allocations: 190.9 kB / 1.358 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.107, allocations: 4 kB / 1.358 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/1.107, allocations: 0 / 1.358 GB, free: 11.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.107, allocations: 0 / 1.358 GB, free: 11.13 MB / 1.061 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.0006435/1.108, allocations: 441.7 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.108, allocations: 10.17 kB / 1.358 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/1.108, allocations: 39.78 kB / 1.358 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/1.109, allocations: 81.83 kB / 1.358 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/1.109, allocations: 219.1 kB / 1.359 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.109, allocations: 7.375 kB / 1.359 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/1.109, allocations: 9.688 kB / 1.359 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/1.11, allocations: 134.5 kB / 1.359 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.11, allocations: 0 / 1.359 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/1.11, allocations: 5.5 kB / 1.359 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.11, allocations: 5.062 kB / 1.359 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/1.11, allocations: 136.1 kB / 1.359 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/1.111, allocations: 417.9 kB / 1.359 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/1.112, allocations: 254.2 kB / 1.36 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/1.112, allocations: 75.02 kB / 1.36 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/1.112, allocations: 7.828 kB / 1.36 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.112, allocations: 35.66 kB / 1.36 GB, free: 9.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/1.112, allocations: 0 / 1.36 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008251/1.113, allocations: 207 kB / 1.36 GB, free: 9.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.113, allocations: 56.94 kB / 1.36 GB, free: 9.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/1.113, allocations: 145.6 kB / 1.36 GB, free: 9.523 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/1.113, allocations: 31.11 kB / 1.36 GB, free: 9.488 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/1.113, allocations: 101.3 kB / 1.36 GB, free: 9.395 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/1.113, allocations: 27.91 kB / 1.36 GB, free: 9.371 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/1.113, allocations: 27.64 kB / 1.36 GB, free: 9.348 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.114, allocations: 326.7 kB / 1.361 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/1.114, allocations: 54.17 kB / 1.361 GB, free: 9.016 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/1.114, allocations: 74.61 kB / 1.361 GB, free: 8.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/1.114, allocations: 121.3 kB / 1.361 GB, free: 8.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.114, allocations: 0 / 1.361 GB, free: 8.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005304/1.115, allocations: 160.5 kB / 1.361 GB, free: 8.879 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.115, allocations: 5.594 kB / 1.361 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.115, allocations: 4.688 kB / 1.361 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.115, allocations: 5.125 kB / 1.361 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/1.115, allocations: 31.05 kB / 1.361 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.115, allocations: 1.281 kB / 1.361 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.115, allocations: 19.19 kB / 1.361 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/1.115, allocations: 7.812 kB / 1.361 GB, free: 8.859 MB / 1.061 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.733e-05/1.116, allocations: 123.7 kB / 1.361 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.116, allocations: 8.672 kB / 1.361 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/1.116, allocations: 17.23 kB / 1.361 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.116, allocations: 1.406 kB / 1.361 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.116, allocations: 4.203 kB / 1.361 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.116, allocations: 0.7031 kB / 1.361 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.117, allocations: 473.9 kB / 1.362 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.117, allocations: 0 / 1.362 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.117, allocations: 25.06 kB / 1.362 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.117, allocations: 4 kB / 1.362 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/1.117, allocations: 8.656 kB / 1.362 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.117, allocations: 3.938 kB / 1.362 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.117, allocations: 1.062 kB / 1.362 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/1.118, allocations: 260.8 kB / 1.362 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/1.118, allocations: 83.48 kB / 1.362 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/1.118, allocations: 5.312 kB / 1.362 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.118, allocations: 19.12 kB / 1.362 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/1.118, allocations: 5.672 kB / 1.362 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.118, allocations: 2.719 kB / 1.362 GB, free: 8.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.061e-05/1.118, allocations: 113.2 kB / 1.362 GB, free: 7.984 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.118, allocations: 5.438 kB / 1.362 GB, free: 7.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002725/1.118, allocations: 24.47 kB / 1.362 GB, free: 7.98 MB / 1.061 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.0008849/1.119, allocations: 0.8166 MB / 1.363 GB, free: 7.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005182/1.12, allocations: 117.3 kB / 1.363 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.12, allocations: 0 / 1.363 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.12, allocations: 73.39 kB / 1.363 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/1.12, allocations: 38.28 kB / 1.363 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/1.123, allocations: 1.738 MB / 1.365 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/1.123, allocations: 0.699 MB / 1.366 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001447/1.124, allocations: 32.02 kB / 1.366 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/1.124, allocations: 30.08 kB / 1.366 GB, free: 5.141 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/1.124, allocations: 96 / 1.366 GB, free: 5.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/1.145, allocations: 3.417 MB / 1.369 GB, free: 4.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.916, allocations: 5.125 kB / 1.369 GB, free: 4.578 MB / 1.061 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_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