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.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: 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.0008426/0.0008424, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.352 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.679/2.679, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 8 kB / 0.8735 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5962, allocations: 153.8 MB / 1.024 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001836/0.598, allocations: 1.219 MB / 1.025 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1355/0.7336, allocations: 128.5 MB / 1.15 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.7337, allocations: 0 / 1.15 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.7337, allocations: 0 / 1.15 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.7338, allocations: 7.922 kB / 1.15 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.7342, allocations: 55.78 kB / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.7343, allocations: 55.73 kB / 1.151 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.7344, allocations: 17.95 kB / 1.151 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.7344, allocations: 19.97 kB / 1.151 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.7345, allocations: 23.86 kB / 1.151 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.7345, allocations: 0 / 1.151 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.709e-05/0.7346, allocations: 19.86 kB / 1.151 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.7346, allocations: 4 kB / 1.151 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.7347, allocations: 45.56 kB / 1.151 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.7348, allocations: 35.89 kB / 1.151 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7348, allocations: 0 / 1.151 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7348, allocations: 4 kB / 1.151 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7348, allocations: 0 / 1.151 GB, free: 13.49 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.000522/0.7353, allocations: 375.3 kB / 1.151 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.7354, allocations: 12.03 kB / 1.151 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.7354, allocations: 4.938 kB / 1.151 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.7355, allocations: 184.2 kB / 1.151 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.7356, allocations: 384 / 1.151 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.7356, allocations: 4.375 kB / 1.151 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.7358, allocations: 86.14 kB / 1.151 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.7359, allocations: 192 / 1.151 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.7359, allocations: 11.94 kB / 1.151 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7359, allocations: 0 / 1.151 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.7362, allocations: 91.92 kB / 1.151 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.7366, allocations: 284.7 kB / 1.152 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.7368, allocations: 74.52 kB / 1.152 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.737, allocations: 44.92 kB / 1.152 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.7372, allocations: 97.03 kB / 1.152 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7372, allocations: 30.56 kB / 1.152 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7372, allocations: 0 / 1.152 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005886/0.7378, allocations: 165.5 kB / 1.152 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.7379, allocations: 55.41 kB / 1.152 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.738, allocations: 117.8 kB / 1.152 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.738, allocations: 25.7 kB / 1.152 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.738, allocations: 96.05 kB / 1.152 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.7381, allocations: 7.891 kB / 1.152 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.7381, allocations: 9.719 kB / 1.152 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7382, allocations: 318.8 kB / 1.153 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.7384, allocations: 47.95 kB / 1.153 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.7385, allocations: 39.97 kB / 1.153 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.7389, allocations: 96.72 kB / 1.153 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7389, allocations: 4 kB / 1.153 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003427/0.7392, allocations: 121.5 kB / 1.153 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7392, allocations: 5.719 kB / 1.153 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7392, allocations: 0 / 1.153 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7393, allocations: 0 / 1.153 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7394, allocations: 23.97 kB / 1.153 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.7394, allocations: 0 / 1.153 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.7395, allocations: 23.92 kB / 1.153 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.7395, allocations: 4 kB / 1.153 GB, free: 10.83 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 9.118e-05/0.7396, allocations: 113.8 kB / 1.153 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.7396, allocations: 4 kB / 1.153 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.74, allocations: 137.4 kB / 1.153 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7401, allocations: 0 / 1.153 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7401, allocations: 0 / 1.153 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7401, allocations: 0 / 1.153 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.7402, allocations: 181.6 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7403, allocations: 4 kB / 1.153 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.7404, allocations: 23.97 kB / 1.153 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7404, allocations: 0 / 1.153 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7404, allocations: 0 / 1.153 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7404, allocations: 4 kB / 1.153 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7404, allocations: 0 / 1.153 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.7408, allocations: 223.6 kB / 1.154 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.7408, allocations: 85.02 kB / 1.154 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.7409, allocations: 7.984 kB / 1.154 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.741, allocations: 11.98 kB / 1.154 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.741, allocations: 4.047 kB / 1.154 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.741, allocations: 3.984 kB / 1.154 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.7411, allocations: 99.64 kB / 1.154 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7411, allocations: 4 kB / 1.154 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002267/0.7413, allocations: 20 kB / 1.154 GB, free: 9.82 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.0001452/0.7415, allocations: 107.2 kB / 1.154 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.7419, allocations: 91.92 kB / 1.154 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7419, allocations: 0 / 1.154 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.742, allocations: 55.89 kB / 1.154 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7423, allocations: 13.81 kB / 1.154 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.7427, allocations: 206.2 kB / 1.154 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7429, allocations: 0.6848 MB / 1.155 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.743, allocations: 7.438 kB / 1.155 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.743, allocations: 0 / 1.155 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of Templates: time 0.002189/0.7452, allocations: 0.914 MB / 1.156 GB, free: 7.684 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/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