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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009408/0.0009408, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005842/0.005842, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 0.8729 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5614/0.5618, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001741/0.5636, allocations: 1.359 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1419/0.7055, allocations: 147.6 MB / 1.169 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.7056, allocations: 0 / 1.169 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.7058, allocations: 15.86 kB / 1.169 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.706, allocations: 43.72 kB / 1.169 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.7063, allocations: 127.5 kB / 1.169 GB, free: 10.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.7065, allocations: 115.6 kB / 1.169 GB, free: 10.03 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.7066, allocations: 31.55 kB / 1.169 GB, free: 9.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.7085, allocations: 153.4 kB / 1.169 GB, free: 9.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.7086, allocations: 39.78 kB / 1.169 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.7086, allocations: 4 kB / 1.169 GB, free: 9.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.709, allocations: 179.7 kB / 1.169 GB, free: 9.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.709, allocations: 15.92 kB / 1.169 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.7091, allocations: 61.45 kB / 1.169 GB, free: 9.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.7094, allocations: 195.4 kB / 1.17 GB, free: 9.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.7094, allocations: 4 kB / 1.17 GB, free: 9.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7094, allocations: 0 / 1.17 GB, free: 9.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7094, allocations: 3.938 kB / 1.17 GB, free: 9.363 MB / 0.92 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.0005783/0.71, allocations: 432.7 kB / 1.17 GB, free: 8.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.71, allocations: 12.03 kB / 1.17 GB, free: 8.883 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.7101, allocations: 34.75 kB / 1.17 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/0.7111, allocations: 91.64 kB / 1.17 GB, free: 8.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.7113, allocations: 194.9 kB / 1.17 GB, free: 8.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.7113, allocations: 4 kB / 1.17 GB, free: 8.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.7113, allocations: 11.98 kB / 1.17 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.7118, allocations: 147.5 kB / 1.17 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7118, allocations: 0 / 1.17 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.7119, allocations: 7.938 kB / 1.17 GB, free: 8.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7119, allocations: 4 kB / 1.17 GB, free: 8.344 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/0.7125, allocations: 159.8 kB / 1.171 GB, free: 8.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.7132, allocations: 420.1 kB / 1.171 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.714, allocations: 267.7 kB / 1.171 GB, free: 7.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.7142, allocations: 84.8 kB / 1.171 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.7143, allocations: 0 / 1.171 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7143, allocations: 38.56 kB / 1.171 GB, free: 7.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.7143, allocations: 7.922 kB / 1.171 GB, free: 7.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008805/0.7152, allocations: 245.6 kB / 1.172 GB, free: 7.051 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.7152, allocations: 55.41 kB / 1.172 GB, free: 6.984 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7154, allocations: 152.9 kB / 1.172 GB, free: 6.824 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.7154, allocations: 25.7 kB / 1.172 GB, free: 6.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.7155, allocations: 100.1 kB / 1.172 GB, free: 6.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.7155, allocations: 27.7 kB / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.7155, allocations: 13.72 kB / 1.172 GB, free: 6.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7156, allocations: 326.8 kB / 1.172 GB, free: 6.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.7159, allocations: 67.94 kB / 1.172 GB, free: 6.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.7162, allocations: 90.58 kB / 1.172 GB, free: 6.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.7166, allocations: 140.7 kB / 1.173 GB, free: 6.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7167, allocations: 0 / 1.173 GB, free: 6.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005443/0.7172, allocations: 185.5 kB / 1.173 GB, free: 5.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7172, allocations: 4 kB / 1.173 GB, free: 5.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7172, allocations: 4 kB / 1.173 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.7173, allocations: 4 kB / 1.173 GB, free: 5.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.7175, allocations: 27.97 kB / 1.173 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.7175, allocations: 4 kB / 1.173 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.7177, allocations: 27.97 kB / 1.173 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7177, allocations: 7.938 kB / 1.173 GB, free: 5.746 MB / 0.92 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.346e-05/0.7178, allocations: 122.2 kB / 1.173 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.7178, allocations: 7.906 kB / 1.173 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.7179, allocations: 20.7 kB / 1.173 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7179, allocations: 3.938 kB / 1.173 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7179, allocations: 0 / 1.173 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7179, allocations: 8 kB / 1.173 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.7188, allocations: 478.3 kB / 1.173 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.7188, allocations: 0 / 1.173 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.719, allocations: 39.91 kB / 1.174 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.719, allocations: 4 kB / 1.174 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.719, allocations: 4 kB / 1.174 GB, free: 5.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.719, allocations: 3.938 kB / 1.174 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.719, allocations: 0 / 1.174 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.7196, allocations: 279.3 kB / 1.174 GB, free: 4.715 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.7197, allocations: 92.92 kB / 1.174 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.7197, allocations: 3.984 kB / 1.174 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.7199, allocations: 23.92 kB / 1.174 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.72, allocations: 11.98 kB / 1.174 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.72, allocations: 4 kB / 1.174 GB, free: 4.562 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.293e-05/0.72, allocations: 107.2 kB / 1.174 GB, free: 4.457 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.714e-06/0.7201, allocations: 4 kB / 1.174 GB, free: 4.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002701/0.7203, allocations: 31.88 kB / 1.174 GB, free: 4.422 MB / 0.92 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.0008844/0.7212, allocations: 0.8217 MB / 1.175 GB, free: 3.574 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.7218, allocations: 148.3 kB / 1.175 GB, free: 3.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7218, allocations: 4 kB / 1.175 GB, free: 3.426 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.722, allocations: 76.09 kB / 1.175 GB, free: 3.352 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.7224, allocations: 36.06 kB / 1.175 GB, free: 3.316 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.725, allocations: 1.804 MB / 1.177 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.7253, allocations: 0.7043 MB / 1.178 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.7254, allocations: 32.38 kB / 1.178 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.7255, allocations: 35.41 kB / 1.178 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of SimCode: time 3.5e-07/0.7255, allocations: 4 kB / 1.178 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.7381, allocations: 2.958 MB / 1.181 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.7383, allocations: 209.1 kB / 1.181 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.552, allocations: 0 / 1.181 GB, free: 13.6 MB / 0.9356 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) Reference file matches