Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001215/0.001215, 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.001616/0.001616, allocations: 195.1 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 472.6 MB / 0.7447 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.53 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4665, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003159/0.4697, allocations: 1.547 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.6336, allocations: 129.9 MB / 1.196 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.6338, allocations: 4 kB / 1.196 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.474e-05/0.6339, allocations: 3.938 kB / 1.196 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.634, allocations: 7.922 kB / 1.196 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.6346, allocations: 67.78 kB / 1.196 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.6348, allocations: 47.8 kB / 1.196 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.6349, allocations: 20.22 kB / 1.196 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.635, allocations: 19.92 kB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.6351, allocations: 31.83 kB / 1.196 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.6352, allocations: 0 / 1.196 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.6353, allocations: 16 kB / 1.196 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.6353, allocations: 11.92 kB / 1.196 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.6354, allocations: 23.86 kB / 1.196 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.6356, allocations: 51.89 kB / 1.196 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6356, allocations: 3.984 kB / 1.196 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6356, allocations: 0 / 1.196 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.6356, allocations: 0 / 1.196 GB, free: 6.516 MB / 0.9512 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.0006251/0.6362, allocations: 367.3 kB / 1.197 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6363, allocations: 8.031 kB / 1.197 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.6363, allocations: 4.938 kB / 1.197 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.6365, allocations: 180.2 kB / 1.197 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.6366, allocations: 4.375 kB / 1.197 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.6366, allocations: 4.375 kB / 1.197 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.6369, allocations: 74.16 kB / 1.197 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6369, allocations: 192 / 1.197 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6369, allocations: 11.92 kB / 1.197 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6369, allocations: 0 / 1.197 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.6372, allocations: 71.92 kB / 1.197 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.6377, allocations: 276.7 kB / 1.197 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.638, allocations: 62.47 kB / 1.197 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.6381, allocations: 36.92 kB / 1.197 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.6383, allocations: 97.03 kB / 1.197 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6384, allocations: 30.56 kB / 1.197 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.6384, allocations: 0 / 1.197 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005859/0.639, allocations: 133.6 kB / 1.198 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.639, allocations: 55.34 kB / 1.198 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.6392, allocations: 117.8 kB / 1.198 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6392, allocations: 33.64 kB / 1.198 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.6392, allocations: 99.97 kB / 1.198 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.6393, allocations: 3.906 kB / 1.198 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.6393, allocations: 21.72 kB / 1.198 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6394, allocations: 318.8 kB / 1.198 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.6396, allocations: 27.97 kB / 1.198 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6397, allocations: 31.97 kB / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.64, allocations: 72.78 kB / 1.198 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.64, allocations: 0 / 1.198 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000336/0.6404, allocations: 101.5 kB / 1.198 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6404, allocations: 4 kB / 1.198 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6404, allocations: 0 / 1.198 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6404, allocations: 0 / 1.198 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6406, allocations: 19.98 kB / 1.198 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.6406, allocations: 0 / 1.198 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.6407, allocations: 15.89 kB / 1.198 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.6407, allocations: 0 / 1.198 GB, free: 4.031 MB / 0.9512 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 9.761e-05/0.6408, allocations: 119.5 kB / 1.199 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.6408, allocations: 3.984 kB / 1.199 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.6412, allocations: 109.5 kB / 1.199 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6412, allocations: 0 / 1.199 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6412, allocations: 4 kB / 1.199 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6413, allocations: 0 / 1.199 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.6415, allocations: 177.6 kB / 1.199 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6415, allocations: 3.984 kB / 1.199 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.6416, allocations: 16.36 kB / 1.199 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6416, allocations: 4 kB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6416, allocations: 7.938 kB / 1.199 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6416, allocations: 0 / 1.199 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6416, allocations: 0 / 1.199 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.642, allocations: 207.3 kB / 1.199 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.6421, allocations: 77.11 kB / 1.199 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.6421, allocations: 4 kB / 1.199 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.6422, allocations: 11.98 kB / 1.199 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.6423, allocations: 7.984 kB / 1.199 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6423, allocations: 4 kB / 1.199 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.6423, allocations: 91.27 kB / 1.199 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6423, allocations: 0 / 1.199 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000243/0.6426, allocations: 19.84 kB / 1.199 GB, free: 3.074 MB / 0.9512 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.0001832/0.6428, allocations: 111.2 kB / 1.199 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.6432, allocations: 67.92 kB / 1.199 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6432, allocations: 0 / 1.199 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.6433, allocations: 39.91 kB / 1.199 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.6437, allocations: 22.31 kB / 1.199 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.6442, allocations: 165.4 kB / 1.2 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6445, allocations: 0.6848 MB / 1.2 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.6446, allocations: 4 kB / 1.2 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.6446, allocations: 11.44 kB / 1.2 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.6446, allocations: 0 / 1.2 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of Templates: time 0.00377/0.6484, allocations: 0.8459 MB / 1.201 GB, free: 1.078 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches