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.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.17/2.17, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5817, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002348/0.5841, allocations: 1.637 MB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1368/0.7209, allocations: 151.6 MB / 1.099 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.721, allocations: 0 / 1.099 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.7212, allocations: 19.8 kB / 1.099 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.7215, allocations: 43.72 kB / 1.099 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.7219, allocations: 147.4 kB / 1.1 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.7221, allocations: 119.6 kB / 1.1 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.7222, allocations: 31.62 kB / 1.1 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.7233, allocations: 163.3 kB / 1.1 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.7234, allocations: 47.77 kB / 1.1 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.7234, allocations: 8 kB / 1.1 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.7238, allocations: 179.6 kB / 1.1 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.7238, allocations: 27.86 kB / 1.1 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.7239, allocations: 47.73 kB / 1.1 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.7243, allocations: 179.5 kB / 1.1 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7243, allocations: 0 / 1.1 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7243, allocations: 0 / 1.1 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.7243, allocations: 4 kB / 1.1 GB, free: 7.215 MB / 0.8575 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.0006265/0.7249, allocations: 450.9 kB / 1.101 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.725, allocations: 12.03 kB / 1.101 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.725, allocations: 34.75 kB / 1.101 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008976/0.7259, allocations: 83.75 kB / 1.101 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.7261, allocations: 210.7 kB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7261, allocations: 8 kB / 1.101 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.7262, allocations: 4 kB / 1.101 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.7266, allocations: 147.2 kB / 1.101 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7266, allocations: 0 / 1.101 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.7266, allocations: 3.938 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7266, allocations: 0 / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.7271, allocations: 143.9 kB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.7278, allocations: 412.4 kB / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.7285, allocations: 243.7 kB / 1.102 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.7288, allocations: 80.73 kB / 1.102 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.7288, allocations: 3.984 kB / 1.102 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.7288, allocations: 34.56 kB / 1.102 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.7288, allocations: 4 kB / 1.102 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000732/0.7296, allocations: 209.4 kB / 1.102 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.7296, allocations: 55.41 kB / 1.102 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.7297, allocations: 146 kB / 1.102 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.7297, allocations: 25.7 kB / 1.102 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.7298, allocations: 112 kB / 1.103 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.7298, allocations: 23.78 kB / 1.103 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.7299, allocations: 25.7 kB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.73, allocations: 322.8 kB / 1.103 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.7302, allocations: 63.86 kB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.7304, allocations: 74.52 kB / 1.103 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.7308, allocations: 116.8 kB / 1.103 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7308, allocations: 0 / 1.103 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004661/0.7313, allocations: 157.5 kB / 1.103 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7313, allocations: 9.562 kB / 1.103 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7313, allocations: 0 / 1.103 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.7314, allocations: 4 kB / 1.103 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.7316, allocations: 27.91 kB / 1.103 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7316, allocations: 0.5469 kB / 1.103 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.7317, allocations: 31.81 kB / 1.103 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.7317, allocations: 3.938 kB / 1.103 GB, free: 3.742 MB / 0.8575 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 8.184e-05/0.7318, allocations: 125.8 kB / 1.104 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.7319, allocations: 7.906 kB / 1.104 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.7319, allocations: 20.7 kB / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7319, allocations: 0 / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7319, allocations: 0 / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7319, allocations: 0 / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.7327, allocations: 470.2 kB / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7327, allocations: 0 / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.7329, allocations: 27.97 kB / 1.104 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7329, allocations: 0 / 1.104 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7329, allocations: 8 kB / 1.104 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7329, allocations: 7.922 kB / 1.104 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7329, allocations: 4 kB / 1.104 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.7334, allocations: 255.3 kB / 1.104 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.7335, allocations: 85 kB / 1.104 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.7335, allocations: 15.94 kB / 1.104 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.7337, allocations: 15.92 kB / 1.104 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.7337, allocations: 11.98 kB / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.7337, allocations: 0 / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.7338, allocations: 115.7 kB / 1.105 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7338, allocations: 0 / 1.105 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002509/0.7341, allocations: 32 kB / 1.105 GB, free: 2.465 MB / 0.8575 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.0007501/0.7348, allocations: 0.802 MB / 1.105 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.7353, allocations: 127.8 kB / 1.105 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7353, allocations: 0 / 1.105 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.7356, allocations: 71.88 kB / 1.106 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.7359, allocations: 39.84 kB / 1.106 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.7382, allocations: 1.713 MB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.7384, allocations: 0.7117 MB / 1.108 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.7385, allocations: 28.39 kB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.7386, allocations: 31.42 kB / 1.108 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7386, allocations: 4 kB / 1.108 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.118/2.856, allocations: 3.312 MB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/14.58, allocations: 19.7 kB / 1.111 GB, free: 11.59 MB / 0.8731 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) Reference file matches