Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_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.001539/0.001539, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001136/0.001136, allocations: 193 kB / 16.14 MB, free: 6.711 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.436/2.436, allocations: 437 MB / 0.71 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5612, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002519/0.5637, allocations: 1.338 MB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1267/0.6905, allocations: 129.9 MB / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.6905, allocations: 0 / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.6906, allocations: 0 / 1.145 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.6906, allocations: 7.938 kB / 1.145 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.6909, allocations: 47.8 kB / 1.145 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.691, allocations: 23.92 kB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.691, allocations: 7.984 kB / 1.145 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.6911, allocations: 11.94 kB / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.6911, allocations: 15.75 kB / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.6912, allocations: 0 / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.6912, allocations: 12 kB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.6912, allocations: 3.984 kB / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.6913, allocations: 11.94 kB / 1.145 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.6914, allocations: 18.23 kB / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6914, allocations: 0 / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6914, allocations: 3.938 kB / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6914, allocations: 4 kB / 1.145 GB, free: 14.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003583/0.6918, allocations: 335.5 kB / 1.145 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6918, allocations: 12.03 kB / 1.145 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.6918, allocations: 38.75 kB / 1.145 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.6919, allocations: 0.9375 kB / 1.145 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.692, allocations: 176.3 kB / 1.146 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.692, allocations: 26.27 kB / 1.146 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.6921, allocations: 4.375 kB / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.6922, allocations: 49.94 kB / 1.146 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.6922, allocations: 0 / 1.146 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.6922, allocations: 0 / 1.146 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6922, allocations: 0 / 1.146 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.6923, allocations: 11.98 kB / 1.146 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.6924, allocations: 153.7 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.6925, allocations: 30.58 kB / 1.146 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.6926, allocations: 20.94 kB / 1.146 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.6928, allocations: 89.09 kB / 1.146 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6928, allocations: 38.44 kB / 1.146 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6928, allocations: 0 / 1.146 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002157/0.693, allocations: 57.67 kB / 1.146 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6931, allocations: 51.41 kB / 1.146 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.6931, allocations: 106 kB / 1.146 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.6931, allocations: 25.7 kB / 1.146 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.6932, allocations: 80.14 kB / 1.146 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.6932, allocations: 11.83 kB / 1.146 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.6932, allocations: 17.72 kB / 1.146 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.6933, allocations: 310.8 kB / 1.147 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.6934, allocations: 4 kB / 1.147 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.6934, allocations: 15.98 kB / 1.147 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.6935, allocations: 24.78 kB / 1.147 GB, free: 13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6935, allocations: 0 / 1.147 GB, free: 13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001241/0.6937, allocations: 49.69 kB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6937, allocations: 7.938 kB / 1.147 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6937, allocations: 3.938 kB / 1.147 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6937, allocations: 3.938 kB / 1.147 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.6938, allocations: 7.984 kB / 1.147 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6938, allocations: 4 kB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.6938, allocations: 11.91 kB / 1.147 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.6938, allocations: 0 / 1.147 GB, free: 12.9 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.003e-05/0.6939, allocations: 113.8 kB / 1.147 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.6939, allocations: 3.938 kB / 1.147 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.6941, allocations: 57.17 kB / 1.147 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.6941, allocations: 4 kB / 1.147 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6941, allocations: 0 / 1.147 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.6941, allocations: 0 / 1.147 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.909e-05/0.6942, allocations: 153.7 kB / 1.147 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6942, allocations: 0 / 1.147 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.6943, allocations: 4 kB / 1.147 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6943, allocations: 3.938 kB / 1.147 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.6943, allocations: 4 kB / 1.147 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6943, allocations: 4 kB / 1.147 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.6943, allocations: 7.984 kB / 1.147 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.6944, allocations: 77.05 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.6945, allocations: 85.05 kB / 1.147 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.6945, allocations: 3.984 kB / 1.147 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.6946, allocations: 0 / 1.147 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.6946, allocations: 8 kB / 1.147 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.6946, allocations: 0 / 1.147 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.6946, allocations: 79.7 kB / 1.147 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6946, allocations: 0 / 1.147 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001906/0.6948, allocations: 11.98 kB / 1.147 GB, free: 12.19 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.0004258/0.6953, allocations: 0.6364 MB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.6954, allocations: 19.98 kB / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6954, allocations: 0 / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.6955, allocations: 11.98 kB / 1.148 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6957, allocations: 9.547 kB / 1.148 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.6961, allocations: 172.1 kB / 1.148 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.6963, allocations: 0.6731 MB / 1.149 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.6963, allocations: 8 kB / 1.149 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.6964, allocations: 11.42 kB / 1.149 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.6964, allocations: 3.938 kB / 1.149 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009753/0.7061, allocations: 1.196 MB / 1.15 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.7064, allocations: 223.4 kB / 1.15 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.471, allocations: 0 / 1.15 GB, free: 9.223 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches