Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001335/0.001335, allocations: 193 kB / 16.13 MB, free: 6.652 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.442/2.442, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5637, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002711/0.5665, allocations: 1.554 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1208/0.6873, allocations: 129.9 MB / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.6874, allocations: 0 / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.6874, allocations: 0 / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.6875, allocations: 11.88 kB / 1.145 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.6879, allocations: 66.03 kB / 1.145 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.688, allocations: 51.78 kB / 1.145 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.6881, allocations: 23.97 kB / 1.145 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.6881, allocations: 15.94 kB / 1.145 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.6882, allocations: 19.91 kB / 1.145 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.6882, allocations: 4 kB / 1.145 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.6883, allocations: 19.92 kB / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.6883, allocations: 8 kB / 1.145 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.6884, allocations: 19.86 kB / 1.145 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.6885, allocations: 63.73 kB / 1.145 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6885, allocations: 0 / 1.145 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6885, allocations: 4 kB / 1.145 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6885, allocations: 0 / 1.145 GB, free: 14.5 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004927/0.689, allocations: 371.3 kB / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6891, allocations: 8.031 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.6891, allocations: 34.73 kB / 1.146 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.6891, allocations: 8.844 kB / 1.146 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.6892, allocations: 172.2 kB / 1.146 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.6893, allocations: 8.375 kB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.6893, allocations: 8.375 kB / 1.146 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.6896, allocations: 78.14 kB / 1.146 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6896, allocations: 3.938 kB / 1.146 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.6896, allocations: 0 / 1.146 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6896, allocations: 0 / 1.146 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.6899, allocations: 71.92 kB / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.6903, allocations: 276.8 kB / 1.146 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.6905, allocations: 58.47 kB / 1.146 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.6907, allocations: 48.91 kB / 1.147 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.6908, allocations: 85.11 kB / 1.147 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.6909, allocations: 34.55 kB / 1.147 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6909, allocations: 0 / 1.147 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.6915, allocations: 129.5 kB / 1.147 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.6915, allocations: 51.41 kB / 1.147 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.6916, allocations: 125.8 kB / 1.147 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.6916, allocations: 25.7 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.6917, allocations: 92.08 kB / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.6917, allocations: 11.75 kB / 1.147 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.6917, allocations: 21.72 kB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.6918, allocations: 322.8 kB / 1.147 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.692, allocations: 27.97 kB / 1.147 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.6921, allocations: 31.95 kB / 1.147 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.6924, allocations: 72.78 kB / 1.147 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6924, allocations: 0 / 1.147 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000335/0.6928, allocations: 97.62 kB / 1.148 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.6928, allocations: 4 kB / 1.148 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.6928, allocations: 0 / 1.148 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.6928, allocations: 0 / 1.148 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6929, allocations: 23.92 kB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.693, allocations: 3.984 kB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.693, allocations: 19.91 kB / 1.148 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.6931, allocations: 0 / 1.148 GB, free: 11.96 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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 7.195e-05/0.6931, allocations: 118.3 kB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.6932, allocations: 3.906 kB / 1.148 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.6935, allocations: 109.8 kB / 1.148 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6935, allocations: 4 kB / 1.148 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.6935, allocations: 0 / 1.148 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6936, allocations: 0 / 1.148 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.6937, allocations: 173.6 kB / 1.148 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6937, allocations: 0 / 1.148 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.6938, allocations: 23.92 kB / 1.148 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6938, allocations: 0 / 1.148 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6939, allocations: 4 kB / 1.148 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6939, allocations: 0 / 1.148 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6939, allocations: 0 / 1.148 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6942, allocations: 199.3 kB / 1.148 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.6943, allocations: 77.11 kB / 1.148 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.6943, allocations: 8 kB / 1.148 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.6944, allocations: 15.98 kB / 1.148 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.6945, allocations: 3.984 kB / 1.148 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6945, allocations: 4 kB / 1.148 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.6945, allocations: 95.2 kB / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6945, allocations: 0 / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002417/0.6948, allocations: 16 kB / 1.148 GB, free: 11.02 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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.0006164/0.6954, allocations: 0.7434 MB / 1.149 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.6958, allocations: 75.91 kB / 1.149 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6958, allocations: 0 / 1.149 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6959, allocations: 39.91 kB / 1.149 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.6962, allocations: 11.98 kB / 1.149 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.6979, allocations: 1.435 MB / 1.151 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.6981, allocations: 0.6848 MB / 1.151 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.6982, allocations: 4 kB / 1.151 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.6982, allocations: 15.44 kB / 1.151 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of SimCode: time 1.754e-06/0.6982, allocations: 0 / 1.151 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.7089, allocations: 1.8 MB / 1.153 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.709, allocations: 210.9 kB / 1.153 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.482, allocations: 64 / 1.153 GB, free: 5.93 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches