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.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001528/0.001528, allocations: 192.5 kB / 16.26 MB, free: 6.629 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.467/1.467, 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.705/2.705, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 72.03 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6637, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003135/0.6669, allocations: 1.344 MB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.832, allocations: 130 MB / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.8321, allocations: 0 / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.8322, allocations: 3.938 kB / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.8322, allocations: 7.922 kB / 1.145 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.8326, allocations: 51.78 kB / 1.145 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.8327, allocations: 19.94 kB / 1.145 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.8327, allocations: 4 kB / 1.145 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.8328, allocations: 7.984 kB / 1.145 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.8328, allocations: 11.92 kB / 1.145 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8329, allocations: 8 kB / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.8329, allocations: 15.92 kB / 1.145 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.833, allocations: 8 kB / 1.145 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.833, allocations: 11.94 kB / 1.145 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 8.979e-05/0.8331, allocations: 17.95 kB / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8331, allocations: 0 / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8331, allocations: 0 / 1.145 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8331, allocations: 0 / 1.145 GB, free: 14.75 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.0004634/0.8336, allocations: 339.4 kB / 1.146 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8336, allocations: 12.03 kB / 1.146 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.8337, allocations: 8.938 kB / 1.146 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.8339, allocations: 160.4 kB / 1.146 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.834, allocations: 30.27 kB / 1.146 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.834, allocations: 384 / 1.146 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.8341, allocations: 38.25 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.8341, allocations: 7.875 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8342, allocations: 7.938 kB / 1.146 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8342, allocations: 3.984 kB / 1.146 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.8343, allocations: 15.98 kB / 1.146 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.8344, allocations: 157.6 kB / 1.146 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.8346, allocations: 30.61 kB / 1.146 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.8346, allocations: 8.859 kB / 1.146 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.8348, allocations: 97.19 kB / 1.146 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8348, allocations: 34.56 kB / 1.146 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.8348, allocations: 0 / 1.146 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002459/0.8351, allocations: 61.55 kB / 1.146 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8351, allocations: 51.41 kB / 1.146 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.8352, allocations: 97.86 kB / 1.146 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.8352, allocations: 25.7 kB / 1.146 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.8353, allocations: 88.12 kB / 1.147 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8353, allocations: 15.83 kB / 1.147 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.8354, allocations: 17.72 kB / 1.147 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8355, allocations: 310.8 kB / 1.147 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.8356, allocations: 11.92 kB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.8356, allocations: 4 kB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.8357, allocations: 28.78 kB / 1.147 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8357, allocations: 0 / 1.147 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001263/0.8358, allocations: 49.69 kB / 1.147 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8359, allocations: 11.94 kB / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8359, allocations: 0 / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8359, allocations: 0 / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.836, allocations: 7.984 kB / 1.147 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.836, allocations: 3.984 kB / 1.147 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.836, allocations: 4 kB / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.8361, allocations: 4 kB / 1.147 GB, free: 12.79 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.81e-05/0.8361, allocations: 106.6 kB / 1.147 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.8362, allocations: 11.84 kB / 1.147 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.8363, allocations: 65.11 kB / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8363, allocations: 0.5625 kB / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.8364, allocations: 0 / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8364, allocations: 0 / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.8365, allocations: 153.6 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8365, allocations: 0 / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.8366, allocations: 8 kB / 1.147 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.8366, allocations: 7.922 kB / 1.147 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8366, allocations: 8 kB / 1.147 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8366, allocations: 4 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8366, allocations: 3.984 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.8368, allocations: 73.06 kB / 1.147 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.8368, allocations: 81.09 kB / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.8369, allocations: 3.938 kB / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.8369, allocations: 4 kB / 1.147 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.8369, allocations: 8 kB / 1.147 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.8369, allocations: 0 / 1.147 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.837, allocations: 83.27 kB / 1.148 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.837, allocations: 0 / 1.148 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001897/0.8372, allocations: 8 kB / 1.148 GB, free: 12.07 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.0001465/0.8373, allocations: 111.2 kB / 1.148 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.8375, allocations: 19.98 kB / 1.148 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8375, allocations: 8 kB / 1.148 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.8376, allocations: 7.938 kB / 1.148 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.8378, allocations: 11.98 kB / 1.148 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.8381, allocations: 131.7 kB / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.8384, allocations: 0.6806 MB / 1.149 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.8385, allocations: 8 kB / 1.149 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.8385, allocations: 7.438 kB / 1.149 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8385, allocations: 0 / 1.149 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.002893/0.8414, allocations: 0.4967 MB / 1.149 GB, free: 10.54 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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