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.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.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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001355/0.001355, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.538/2.538, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 0.8688 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6766, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002883/0.6796, allocations: 1.554 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.8136, allocations: 130.1 MB / 1.145 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.8137, allocations: 0 / 1.145 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.8138, allocations: 7.938 kB / 1.145 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.8139, allocations: 11.92 kB / 1.146 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.8143, allocations: 62.03 kB / 1.146 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.8144, allocations: 59.73 kB / 1.146 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.8145, allocations: 11.98 kB / 1.146 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.8146, allocations: 23.92 kB / 1.146 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.8146, allocations: 23.92 kB / 1.146 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8147, allocations: 4 kB / 1.146 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.8147, allocations: 23.92 kB / 1.146 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.8148, allocations: 7.984 kB / 1.146 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.8148, allocations: 27.86 kB / 1.146 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.815, allocations: 55.75 kB / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.815, allocations: 0 / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.815, allocations: 0 / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.815, allocations: 0 / 1.146 GB, free: 14.22 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.0005088/0.8155, allocations: 375.3 kB / 1.146 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8155, allocations: 12.03 kB / 1.146 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.8156, allocations: 34.73 kB / 1.146 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.8156, allocations: 8.844 kB / 1.146 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.8157, allocations: 168.3 kB / 1.146 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.8157, allocations: 8.359 kB / 1.146 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.8158, allocations: 4.375 kB / 1.146 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.816, allocations: 74.2 kB / 1.146 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.816, allocations: 7.938 kB / 1.146 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.816, allocations: 0 / 1.146 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.8161, allocations: 4 kB / 1.146 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.8163, allocations: 63.92 kB / 1.147 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.8167, allocations: 292.7 kB / 1.147 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.8169, allocations: 50.55 kB / 1.147 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.817, allocations: 40.91 kB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.8172, allocations: 89.09 kB / 1.147 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.8172, allocations: 34.56 kB / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8172, allocations: 0 / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000489/0.8177, allocations: 133.4 kB / 1.147 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8178, allocations: 51.41 kB / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.8179, allocations: 129.8 kB / 1.147 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.8179, allocations: 25.7 kB / 1.147 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.8179, allocations: 84.14 kB / 1.147 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.818, allocations: 15.84 kB / 1.147 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.818, allocations: 9.719 kB / 1.147 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.8181, allocations: 326.8 kB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.8182, allocations: 31.97 kB / 1.148 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.8184, allocations: 31.95 kB / 1.148 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.8186, allocations: 69.05 kB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8186, allocations: 0 / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002933/0.8189, allocations: 113.5 kB / 1.148 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.8189, allocations: 7.938 kB / 1.148 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.819, allocations: 0 / 1.148 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.819, allocations: 0 / 1.148 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.8191, allocations: 15.98 kB / 1.148 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8191, allocations: 0 / 1.148 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.8192, allocations: 19.91 kB / 1.148 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.8192, allocations: 4 kB / 1.148 GB, free: 11.68 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 6.631e-05/0.8193, allocations: 114.3 kB / 1.148 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.8193, allocations: 7.906 kB / 1.148 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.8196, allocations: 105.5 kB / 1.148 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8197, allocations: 0 / 1.148 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8197, allocations: 8 kB / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8197, allocations: 0 / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.8198, allocations: 181.6 kB / 1.148 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8198, allocations: 0 / 1.148 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.8199, allocations: 11.98 kB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8199, allocations: 0 / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.82, allocations: 4 kB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.82, allocations: 0 / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.82, allocations: 0 / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.8203, allocations: 195.4 kB / 1.149 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.8203, allocations: 85.02 kB / 1.149 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.8204, allocations: 7.938 kB / 1.149 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8205, allocations: 7.984 kB / 1.149 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.8205, allocations: 7.984 kB / 1.149 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.8205, allocations: 4 kB / 1.149 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.8206, allocations: 99.2 kB / 1.149 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8206, allocations: 0 / 1.149 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002216/0.8208, allocations: 20 kB / 1.149 GB, free: 10.73 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.0006158/0.8214, allocations: 0.7397 MB / 1.15 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.8218, allocations: 75.84 kB / 1.15 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8218, allocations: 0 / 1.15 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8219, allocations: 35.97 kB / 1.15 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.8223, allocations: 11.98 kB / 1.15 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.8239, allocations: 1.435 MB / 1.151 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.8241, allocations: 0.6846 MB / 1.152 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.8242, allocations: 4 kB / 1.152 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.8242, allocations: 19.44 kB / 1.152 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8242, allocations: 0 / 1.152 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.8358, allocations: 1.854 MB / 1.154 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.836, allocations: 207.5 kB / 1.154 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.53, allocations: 64 / 1.154 GB, free: 5.621 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