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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009049/0.009049, allocations: 170 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.348 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.716/2.716, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6882, allocations: 153.8 MB / 1.023 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001892/0.6901, allocations: 1.219 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.8339, allocations: 128.5 MB / 1.15 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.834, allocations: 0 / 1.15 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.8341, allocations: 0 / 1.15 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.8342, allocations: 7.922 kB / 1.15 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.8345, allocations: 63.78 kB / 1.15 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.8346, allocations: 55.73 kB / 1.15 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.8347, allocations: 13.95 kB / 1.15 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.8348, allocations: 19.92 kB / 1.15 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.8348, allocations: 19.92 kB / 1.15 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.8349, allocations: 0 / 1.15 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.8349, allocations: 15.86 kB / 1.15 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.835, allocations: 12 kB / 1.15 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.835, allocations: 45.56 kB / 1.15 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.8351, allocations: 55.73 kB / 1.15 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8352, allocations: 4 kB / 1.15 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8352, allocations: 0 / 1.15 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8352, allocations: 0 / 1.15 GB, free: 13.36 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.0005071/0.8357, allocations: 379.3 kB / 1.15 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8357, allocations: 8.031 kB / 1.15 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.8358, allocations: 4.938 kB / 1.15 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.8359, allocations: 176.2 kB / 1.151 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.8359, allocations: 384 / 1.151 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.8359, allocations: 4.375 kB / 1.151 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.8362, allocations: 90.2 kB / 1.151 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8362, allocations: 192 / 1.151 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8362, allocations: 3.938 kB / 1.151 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8363, allocations: 7.938 kB / 1.151 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.8366, allocations: 87.92 kB / 1.151 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.837, allocations: 292.7 kB / 1.151 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.8372, allocations: 62.55 kB / 1.151 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.8374, allocations: 52.91 kB / 1.151 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.8375, allocations: 97.08 kB / 1.151 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.8376, allocations: 30.56 kB / 1.151 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.8376, allocations: 0 / 1.151 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005901/0.8382, allocations: 165.5 kB / 1.151 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.8382, allocations: 55.39 kB / 1.151 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.8383, allocations: 117.8 kB / 1.152 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.8383, allocations: 25.7 kB / 1.152 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.8384, allocations: 88.05 kB / 1.152 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.8384, allocations: 7.906 kB / 1.152 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.8384, allocations: 17.7 kB / 1.152 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.8385, allocations: 318.8 kB / 1.152 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.8387, allocations: 43.91 kB / 1.152 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.8389, allocations: 47.95 kB / 1.152 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.8392, allocations: 96.72 kB / 1.152 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8392, allocations: 0 / 1.152 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003433/0.8395, allocations: 121.5 kB / 1.152 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8395, allocations: 4 kB / 1.152 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8396, allocations: 0 / 1.152 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.8396, allocations: 0 / 1.152 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.8397, allocations: 27.98 kB / 1.152 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8397, allocations: 0 / 1.152 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.8398, allocations: 23.91 kB / 1.152 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.8398, allocations: 0 / 1.152 GB, free: 10.71 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.193e-05/0.8399, allocations: 117.8 kB / 1.152 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.8399, allocations: 4 kB / 1.152 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.8403, allocations: 133.5 kB / 1.153 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8403, allocations: 4 kB / 1.153 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8403, allocations: 0 / 1.153 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8403, allocations: 0 / 1.153 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.8405, allocations: 173.6 kB / 1.153 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8405, allocations: 0 / 1.153 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.8406, allocations: 19.98 kB / 1.153 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8406, allocations: 0 / 1.153 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.8406, allocations: 4 kB / 1.153 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8407, allocations: 0 / 1.153 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8407, allocations: 0 / 1.153 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.8411, allocations: 231.2 kB / 1.153 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.8411, allocations: 84.95 kB / 1.153 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8411, allocations: 0 / 1.153 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8412, allocations: 16.41 kB / 1.153 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.8413, allocations: 15.98 kB / 1.153 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.8413, allocations: 0 / 1.153 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.8414, allocations: 91.27 kB / 1.153 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.433e-06/0.8414, allocations: 0 / 1.153 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002255/0.8416, allocations: 19.94 kB / 1.153 GB, free: 9.711 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.0001486/0.8417, allocations: 111.2 kB / 1.153 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.8421, allocations: 95.91 kB / 1.153 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8421, allocations: 0 / 1.153 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.8423, allocations: 47.91 kB / 1.153 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8426, allocations: 19.92 kB / 1.154 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.8429, allocations: 176.5 kB / 1.154 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.8432, allocations: 0.6848 MB / 1.154 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.8432, allocations: 4 kB / 1.154 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.8432, allocations: 11.44 kB / 1.154 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8432, allocations: 0 / 1.154 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of Templates: time 0.00308/0.8463, allocations: 0.8403 MB / 1.155 GB, free: 7.676 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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