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.008391/0.008391, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.002214/0.002214, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.59/2.59, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002812/0.2774, allocations: 1.655 MB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7232/1.001, allocations: 151.5 MB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/1.001, allocations: 5.531 kB / 1.316 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/1.001, allocations: 20.05 kB / 1.316 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/1.001, allocations: 46.52 kB / 1.316 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/1.002, allocations: 143.1 kB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/1.002, allocations: 121.5 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/1.002, allocations: 31.58 kB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/1.003, allocations: 170.8 kB / 1.316 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/1.003, allocations: 46.92 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/1.003, allocations: 7.281 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/1.004, allocations: 178.3 kB / 1.316 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/1.004, allocations: 20.2 kB / 1.316 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/1.004, allocations: 53.56 kB / 1.317 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/1.004, allocations: 188.8 kB / 1.317 GB, free: 11.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.004, allocations: 1.703 kB / 1.317 GB, free: 11.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/1.004, allocations: 0 / 1.317 GB, free: 11.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.481e-06/1.004, allocations: 0 / 1.317 GB, free: 11.9 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.0006878/1.005, allocations: 448.4 kB / 1.317 GB, free: 11.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/1.005, allocations: 10.08 kB / 1.317 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/1.005, allocations: 43.41 kB / 1.317 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/1.006, allocations: 84.33 kB / 1.317 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/1.006, allocations: 208.9 kB / 1.317 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/1.006, allocations: 7.594 kB / 1.317 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/1.006, allocations: 8.906 kB / 1.317 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/1.007, allocations: 130.7 kB / 1.318 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/1.007, allocations: 3.938 kB / 1.318 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/1.007, allocations: 4.922 kB / 1.318 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.007, allocations: 6.125 kB / 1.318 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/1.007, allocations: 135.5 kB / 1.318 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/1.008, allocations: 418.6 kB / 1.318 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/1.009, allocations: 249.7 kB / 1.318 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/1.009, allocations: 75.27 kB / 1.318 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.009, allocations: 10.28 kB / 1.318 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.009, allocations: 33.27 kB / 1.319 GB, free: 10.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/1.009, allocations: 0 / 1.319 GB, free: 10.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0008422/1.01, allocations: 218.5 kB / 1.319 GB, free: 10.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/1.01, allocations: 52.47 kB / 1.319 GB, free: 10.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.01, allocations: 146.6 kB / 1.319 GB, free: 10.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/1.01, allocations: 25.7 kB / 1.319 GB, free: 10.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/1.01, allocations: 105.8 kB / 1.319 GB, free: 10.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/1.01, allocations: 28.89 kB / 1.319 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/1.01, allocations: 26.17 kB / 1.319 GB, free: 10.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.011, allocations: 329.2 kB / 1.319 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/1.011, allocations: 56.52 kB / 1.319 GB, free: 10.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/1.011, allocations: 72.98 kB / 1.32 GB, free: 10.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/1.012, allocations: 119.4 kB / 1.32 GB, free: 10.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.012, allocations: 1.797 kB / 1.32 GB, free: 10.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005202/1.012, allocations: 158.2 kB / 1.32 GB, free: 9.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.012, allocations: 6.016 kB / 1.32 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.012, allocations: 0 / 1.32 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.012, allocations: 5 kB / 1.32 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.012, allocations: 28.58 kB / 1.32 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.012, allocations: 1.062 kB / 1.32 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/1.013, allocations: 29.64 kB / 1.32 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/1.013, allocations: 3.875 kB / 1.32 GB, free: 9.953 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.501e-05/1.013, allocations: 126.2 kB / 1.32 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/1.013, allocations: 9.531 kB / 1.32 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/1.013, allocations: 16.23 kB / 1.32 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.013, allocations: 5.828 kB / 1.32 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.013, allocations: 4 kB / 1.32 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.013, allocations: 0.7969 kB / 1.32 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/1.014, allocations: 467.9 kB / 1.32 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.014, allocations: 0 / 1.32 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/1.014, allocations: 32 kB / 1.321 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.014, allocations: 1.031 kB / 1.321 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.014, allocations: 9.391 kB / 1.321 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.014, allocations: 3.938 kB / 1.321 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.014, allocations: 1.125 kB / 1.321 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/1.015, allocations: 260.1 kB / 1.321 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/1.015, allocations: 84.12 kB / 1.321 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/1.015, allocations: 4.75 kB / 1.321 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/1.015, allocations: 17.56 kB / 1.321 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/1.015, allocations: 10.81 kB / 1.321 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.015, allocations: 6.844 kB / 1.321 GB, free: 9.246 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.947e-05/1.015, allocations: 112.7 kB / 1.321 GB, free: 9.172 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.015, allocations: 0 / 1.321 GB, free: 9.172 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002936/1.015, allocations: 31.61 kB / 1.321 GB, free: 9.164 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.0009373/1.016, allocations: 0.8042 MB / 1.322 GB, free: 8.496 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005333/1.017, allocations: 126.8 kB / 1.322 GB, free: 8.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.017, allocations: 5.406 kB / 1.322 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/1.017, allocations: 66.84 kB / 1.322 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/1.018, allocations: 35.06 kB / 1.322 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/1.02, allocations: 1.734 MB / 1.324 GB, free: 7.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/1.021, allocations: 0.7041 MB / 1.324 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001504/1.021, allocations: 30.53 kB / 1.324 GB, free: 6.555 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/1.021, allocations: 32.16 kB / 1.324 GB, free: 6.547 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/1.021, allocations: 0 / 1.324 GB, free: 6.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/1.042, allocations: 3.367 MB / 1.328 GB, free: 6.078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/8.581, allocations: 8.266 kB / 1.328 GB, free: 6.074 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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