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.001129/0.001129, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001548/0.001549, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.613/2.613, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6405, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002681/0.6433, allocations: 1.565 MB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.7776, allocations: 130.1 MB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.7777, allocations: 0 / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.7778, allocations: 7.922 kB / 1.145 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.7779, allocations: 7.922 kB / 1.145 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.7783, allocations: 59.8 kB / 1.145 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.7784, allocations: 55.61 kB / 1.145 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.7785, allocations: 18.11 kB / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.7786, allocations: 19.92 kB / 1.145 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.7786, allocations: 27.91 kB / 1.146 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.7787, allocations: 4 kB / 1.146 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.7788, allocations: 12 kB / 1.146 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.7788, allocations: 15.97 kB / 1.146 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.7788, allocations: 19.88 kB / 1.146 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.779, allocations: 63.75 kB / 1.146 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.779, allocations: 4 kB / 1.146 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/0.779, allocations: 0 / 1.146 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7791, allocations: 0 / 1.146 GB, free: 14.43 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.0005951/0.7797, allocations: 371.3 kB / 1.146 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7797, allocations: 8.031 kB / 1.146 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.7798, allocations: 12.84 kB / 1.146 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.7799, allocations: 172.3 kB / 1.146 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.7799, allocations: 4.312 kB / 1.146 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.7799, allocations: 4.375 kB / 1.146 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.7802, allocations: 78.19 kB / 1.146 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7802, allocations: 4.188 kB / 1.146 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7802, allocations: 3.938 kB / 1.146 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7803, allocations: 0 / 1.146 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.7806, allocations: 71.92 kB / 1.146 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.781, allocations: 288.7 kB / 1.147 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.7812, allocations: 62.47 kB / 1.147 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.7814, allocations: 36.92 kB / 1.147 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.7815, allocations: 89.09 kB / 1.147 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7816, allocations: 34.56 kB / 1.147 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.7816, allocations: 0 / 1.147 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005614/0.7821, allocations: 137.4 kB / 1.147 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.7822, allocations: 51.41 kB / 1.147 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7823, allocations: 121.8 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.7823, allocations: 25.7 kB / 1.147 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.7824, allocations: 88.14 kB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.7824, allocations: 11.89 kB / 1.147 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.7824, allocations: 13.72 kB / 1.147 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7826, allocations: 326.7 kB / 1.148 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.7827, allocations: 31.95 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.7829, allocations: 31.97 kB / 1.148 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.7831, allocations: 68.78 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7831, allocations: 0 / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003299/0.7835, allocations: 105.5 kB / 1.148 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7835, allocations: 4 kB / 1.148 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7835, allocations: 4 kB / 1.148 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7835, allocations: 0 / 1.148 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7837, allocations: 23.97 kB / 1.148 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7837, allocations: 0 / 1.148 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.7838, allocations: 15.92 kB / 1.148 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.7838, allocations: 0 / 1.148 GB, free: 11.93 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.384e-05/0.7839, allocations: 117.8 kB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.7839, allocations: 3.906 kB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.7843, allocations: 113.5 kB / 1.148 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7843, allocations: 0 / 1.148 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7843, allocations: 0 / 1.148 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.7843, allocations: 3.984 kB / 1.148 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.7845, allocations: 177.7 kB / 1.148 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7845, allocations: 0 / 1.148 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.7846, allocations: 15.97 kB / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7846, allocations: 4 kB / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.7846, allocations: 4 kB / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7846, allocations: 0 / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7846, allocations: 0 / 1.148 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.785, allocations: 191.8 kB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.7851, allocations: 89.05 kB / 1.149 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.7851, allocations: 7.984 kB / 1.149 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.7852, allocations: 11.98 kB / 1.149 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.7853, allocations: 7.875 kB / 1.149 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.7853, allocations: 4 kB / 1.149 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.7853, allocations: 95.27 kB / 1.149 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7853, allocations: 3.938 kB / 1.149 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002435/0.7856, allocations: 12 kB / 1.149 GB, free: 10.98 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.0001482/0.7857, allocations: 115.2 kB / 1.149 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.7861, allocations: 67.92 kB / 1.149 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7861, allocations: 0 / 1.149 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.7863, allocations: 43.89 kB / 1.149 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.7866, allocations: 15.94 kB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.787, allocations: 163.8 kB / 1.149 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.7872, allocations: 0.6845 MB / 1.15 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.7872, allocations: 7.984 kB / 1.15 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.7873, allocations: 11.44 kB / 1.15 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7873, allocations: 0 / 1.15 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of Templates: time 0.003225/0.7905, allocations: 0.8841 MB / 1.151 GB, free: 8.941 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