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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001141/0.001142, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001305/0.001306, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8678, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001797/0.8697, allocations: 1.203 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1569/1.027, allocations: 112 MB / 1.131 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/1.027, allocations: 4 kB / 1.131 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/1.027, allocations: 7.922 kB / 1.131 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/1.027, allocations: 7.984 kB / 1.131 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/1.027, allocations: 59.67 kB / 1.131 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/1.028, allocations: 31.95 kB / 1.131 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/1.028, allocations: 7.984 kB / 1.131 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/1.028, allocations: 19.92 kB / 1.131 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/1.028, allocations: 23.92 kB / 1.131 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.028, allocations: 0 / 1.131 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/1.028, allocations: 23.92 kB / 1.131 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/1.028, allocations: 3.984 kB / 1.131 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/1.028, allocations: 33.7 kB / 1.132 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/1.028, allocations: 33.91 kB / 1.132 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.028, allocations: 0 / 1.132 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.255e-06/1.028, allocations: 4 kB / 1.132 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.028, allocations: 0 / 1.132 GB, free: 15.37 MB / 0.8887 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.0007517/1.029, allocations: 383.1 kB / 1.132 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.029, allocations: 15.92 kB / 1.132 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/1.029, allocations: 4 kB / 1.132 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/1.029, allocations: 170.9 kB / 1.132 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.029, allocations: 3.953 kB / 1.132 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.029, allocations: 8 kB / 1.132 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/1.03, allocations: 93.62 kB / 1.132 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.03, allocations: 0 / 1.132 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.03, allocations: 0 / 1.132 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.03, allocations: 4 kB / 1.132 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/1.03, allocations: 95.84 kB / 1.132 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/1.031, allocations: 284.8 kB / 1.133 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/1.031, allocations: 58.55 kB / 1.133 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/1.031, allocations: 97.19 kB / 1.133 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.031, allocations: 34.56 kB / 1.133 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 4.729e-06/1.031, allocations: 0 / 1.133 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0007823/1.032, allocations: 169.4 kB / 1.133 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.032, allocations: 55.41 kB / 1.133 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.032, allocations: 117.8 kB / 1.133 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.033, allocations: 25.7 kB / 1.133 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/1.033, allocations: 92.12 kB / 1.133 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.033, allocations: 7.812 kB / 1.133 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.033, allocations: 0 / 1.133 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.033, allocations: 322.8 kB / 1.134 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/1.033, allocations: 43.95 kB / 1.134 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.033, allocations: 43.97 kB / 1.134 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/1.033, allocations: 43.95 kB / 1.134 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.033, allocations: 0 / 1.134 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004742/1.034, allocations: 121.6 kB / 1.134 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.034, allocations: 4 kB / 1.134 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/1.034, allocations: 0 / 1.134 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.034, allocations: 4 kB / 1.134 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/1.034, allocations: 19.98 kB / 1.134 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.034, allocations: 4 kB / 1.134 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/1.034, allocations: 19.97 kB / 1.134 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.034, allocations: 0 / 1.134 GB, free: 12.84 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.035, allocations: 117.8 kB / 1.134 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/1.035, allocations: 7.906 kB / 1.134 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/1.035, allocations: 133.8 kB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.035, allocations: 0 / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.035, allocations: 48 / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.035, allocations: 3.984 kB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/1.035, allocations: 177.5 kB / 1.134 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.035, allocations: 4 kB / 1.134 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.036, allocations: 19.98 kB / 1.134 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.036, allocations: 3.938 kB / 1.134 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.036, allocations: 4 kB / 1.134 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.036, allocations: 0 / 1.134 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.036, allocations: 0 / 1.134 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/1.036, allocations: 227.3 kB / 1.134 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/1.036, allocations: 77.11 kB / 1.135 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/1.036, allocations: 7.938 kB / 1.135 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.036, allocations: 19.98 kB / 1.135 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/1.037, allocations: 3.984 kB / 1.135 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/1.037, allocations: 0 / 1.135 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 9.705e-05/1.037, allocations: 95.7 kB / 1.135 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.037, allocations: 0 / 1.135 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003457/1.037, allocations: 20 kB / 1.135 GB, free: 11.83 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/1.037, allocations: 103.2 kB / 1.135 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000475/1.038, allocations: 95.92 kB / 1.135 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.038, allocations: 0 / 1.135 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.038, allocations: 43.91 kB / 1.135 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/1.038, allocations: 20.25 kB / 1.135 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/1.039, allocations: 176.5 kB / 1.135 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/1.039, allocations: 0.6887 MB / 1.136 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.87e-05/1.039, allocations: 4 kB / 1.136 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.039, allocations: 11.44 kB / 1.136 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of SimCode: time 1.042e-06/1.039, allocations: 0 / 1.136 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of Templates: time 0.004807/1.044, allocations: 0.8223 MB / 1.137 GB, free: 9.82 MB / 0.8887 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","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches