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.001554/0.001554, allocations: 108 kB / 15.61 MB, free: 152 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.001858/0.001858, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.562/2.562, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7036, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002949/0.7066, allocations: 1.489 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1536/0.8603, allocations: 132.1 MB / 1.148 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.8604, allocations: 0 / 1.148 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.8604, allocations: 7.938 kB / 1.148 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.8605, allocations: 11.86 kB / 1.148 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.861, allocations: 63.66 kB / 1.148 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.8611, allocations: 59.67 kB / 1.148 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8612, allocations: 14.11 kB / 1.148 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.8612, allocations: 19.92 kB / 1.148 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.8613, allocations: 31.89 kB / 1.148 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.8613, allocations: 4 kB / 1.148 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.8614, allocations: 16 kB / 1.148 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.8614, allocations: 7.984 kB / 1.148 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.8615, allocations: 23.86 kB / 1.148 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.8616, allocations: 55.64 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8616, allocations: 4 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8616, allocations: 0 / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8616, allocations: 0 / 1.148 GB, free: 12.27 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.0005457/0.8622, allocations: 379.2 kB / 1.148 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.8622, allocations: 12.03 kB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.8623, allocations: 4.844 kB / 1.148 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8624, allocations: 176.3 kB / 1.149 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.8624, allocations: 4.375 kB / 1.149 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.8625, allocations: 8.375 kB / 1.149 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.8627, allocations: 70.22 kB / 1.149 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.8628, allocations: 192 / 1.149 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8628, allocations: 3.938 kB / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8628, allocations: 0 / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.8631, allocations: 75.86 kB / 1.149 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.8635, allocations: 284.7 kB / 1.149 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.8637, allocations: 50.53 kB / 1.149 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.8639, allocations: 44.92 kB / 1.149 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.8641, allocations: 89.09 kB / 1.149 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8641, allocations: 38.44 kB / 1.149 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.8641, allocations: 0 / 1.149 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000553/0.8647, allocations: 137.6 kB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.8647, allocations: 51.41 kB / 1.149 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.8648, allocations: 113.8 kB / 1.149 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.8648, allocations: 25.7 kB / 1.15 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.8649, allocations: 92.12 kB / 1.15 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.8649, allocations: 3.906 kB / 1.15 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.865, allocations: 21.66 kB / 1.15 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8651, allocations: 322.8 kB / 1.15 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.8653, allocations: 31.95 kB / 1.15 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.8654, allocations: 32 kB / 1.15 GB, free: 10 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.8657, allocations: 80.72 kB / 1.15 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8657, allocations: 0 / 1.15 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.866, allocations: 101.5 kB / 1.15 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.8661, allocations: 8 kB / 1.15 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8661, allocations: 0 / 1.15 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8661, allocations: 3.984 kB / 1.15 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.8662, allocations: 15.98 kB / 1.15 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8662, allocations: 0 / 1.15 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.8663, allocations: 15.92 kB / 1.15 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.8663, allocations: 4 kB / 1.15 GB, free: 9.77 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 8.891e-05/0.8664, allocations: 113.8 kB / 1.15 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.8665, allocations: 11.84 kB / 1.15 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.8668, allocations: 105.5 kB / 1.15 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.8668, allocations: 3.984 kB / 1.15 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8668, allocations: 0 / 1.15 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8668, allocations: 0 / 1.15 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.867, allocations: 173.7 kB / 1.151 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.867, allocations: 0 / 1.151 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.8671, allocations: 23.97 kB / 1.151 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8671, allocations: 0 / 1.151 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8672, allocations: 4 kB / 1.151 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8672, allocations: 0 / 1.151 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8672, allocations: 0 / 1.151 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.8675, allocations: 195.4 kB / 1.151 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8676, allocations: 85 kB / 1.151 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.8676, allocations: 12 kB / 1.151 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.8677, allocations: 7.984 kB / 1.151 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.8678, allocations: 4 kB / 1.151 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.8678, allocations: 0 / 1.151 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.8679, allocations: 95.2 kB / 1.151 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8679, allocations: 3.938 kB / 1.151 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002314/0.8681, allocations: 20 kB / 1.151 GB, free: 8.824 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.0001691/0.8683, allocations: 111.2 kB / 1.151 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.8687, allocations: 71.86 kB / 1.151 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8687, allocations: 0 / 1.151 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.8688, allocations: 35.95 kB / 1.151 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.8692, allocations: 26.22 kB / 1.151 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.8695, allocations: 151.8 kB / 1.151 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8698, allocations: 0.6884 MB / 1.152 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.8699, allocations: 8.234 kB / 1.152 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.8699, allocations: 11.44 kB / 1.152 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of SimCode: time 1.493e-06/0.8699, allocations: 0 / 1.152 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of Templates: time 0.003365/0.8733, allocations: 0.9878 MB / 1.153 GB, free: 6.691 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