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.001282/0.001282, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001415/0.001415, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.9627, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003173/0.966, allocations: 1.504 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1445/1.111, allocations: 132.1 MB / 1.298 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/1.111, allocations: 3.938 kB / 1.298 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/1.111, allocations: 0 / 1.298 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/1.111, allocations: 7.875 kB / 1.298 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/1.111, allocations: 75.53 kB / 1.298 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/1.111, allocations: 51.84 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/1.112, allocations: 19.78 kB / 1.298 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/1.112, allocations: 19.92 kB / 1.298 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/1.112, allocations: 27.84 kB / 1.298 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/1.112, allocations: 8 kB / 1.298 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/1.112, allocations: 12 kB / 1.298 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/1.112, allocations: 11.98 kB / 1.298 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/1.112, allocations: 23.86 kB / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/1.112, allocations: 59.75 kB / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.112, allocations: 0 / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/1.112, allocations: 0 / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.112, allocations: 0 / 1.298 GB, free: 13.42 MB / 1.029 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.0005697/1.113, allocations: 377.1 kB / 1.298 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.113, allocations: 8.922 kB / 1.298 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/1.113, allocations: 4.938 kB / 1.298 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.113, allocations: 184.2 kB / 1.299 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.113, allocations: 384 / 1.299 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.113, allocations: 4.375 kB / 1.299 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/1.113, allocations: 70.22 kB / 1.299 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.113, allocations: 4.188 kB / 1.299 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.113, allocations: 7.875 kB / 1.299 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.113, allocations: 0 / 1.299 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/1.113, allocations: 67.92 kB / 1.299 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/1.114, allocations: 288.7 kB / 1.299 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.114, allocations: 58.47 kB / 1.299 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/1.114, allocations: 40.92 kB / 1.299 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/1.114, allocations: 89.09 kB / 1.299 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.114, allocations: 34.56 kB / 1.299 GB, free: 12.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.114, allocations: 0 / 1.299 GB, free: 12.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005171/1.115, allocations: 129.6 kB / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.115, allocations: 51.41 kB / 1.299 GB, free: 11.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.115, allocations: 121.8 kB / 1.3 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.115, allocations: 25.7 kB / 1.3 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/1.115, allocations: 92.03 kB / 1.3 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/1.115, allocations: 7.906 kB / 1.3 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/1.115, allocations: 17.72 kB / 1.3 GB, free: 11.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.115, allocations: 330.7 kB / 1.3 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/1.115, allocations: 23.97 kB / 1.3 GB, free: 11.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/1.116, allocations: 35.91 kB / 1.3 GB, free: 11.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/1.116, allocations: 69.06 kB / 1.3 GB, free: 11.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.116, allocations: 0 / 1.3 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003036/1.116, allocations: 105.6 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.116, allocations: 7.984 kB / 1.3 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.116, allocations: 0 / 1.3 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.116, allocations: 0 / 1.3 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.116, allocations: 19.98 kB / 1.3 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.116, allocations: 3.938 kB / 1.3 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/1.116, allocations: 19.83 kB / 1.3 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1.116, allocations: 0 / 1.3 GB, free: 10.93 MB / 1.029 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.653e-05/1.117, allocations: 120 kB / 1.3 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/1.117, allocations: 0 / 1.3 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/1.117, allocations: 109.5 kB / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.117, allocations: 0 / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.117, allocations: 0 / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.117, allocations: 0 / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.117, allocations: 173.6 kB / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.117, allocations: 3.984 kB / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/1.117, allocations: 19.92 kB / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.117, allocations: 8 kB / 1.301 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.117, allocations: 4 kB / 1.301 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.117, allocations: 3.938 kB / 1.301 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.117, allocations: 0 / 1.301 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.118, allocations: 195.3 kB / 1.301 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/1.118, allocations: 85.11 kB / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/1.118, allocations: 4 kB / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.118, allocations: 11.98 kB / 1.301 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/1.118, allocations: 3.984 kB / 1.301 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/1.118, allocations: 0 / 1.301 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.349e-05/1.118, allocations: 91.28 kB / 1.301 GB, free: 10 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 0 / 1.301 GB, free: 10 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002324/1.118, allocations: 23.91 kB / 1.301 GB, free: 9.98 MB / 1.029 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.0001672/1.118, allocations: 111.2 kB / 1.301 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003261/1.119, allocations: 75.84 kB / 1.301 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.119, allocations: 0 / 1.301 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/1.119, allocations: 31.97 kB / 1.301 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/1.119, allocations: 23.92 kB / 1.301 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/1.12, allocations: 181.3 kB / 1.301 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.12, allocations: 0.6846 MB / 1.302 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/1.12, allocations: 15.44 kB / 1.302 GB, free: 8.801 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.12, allocations: 0 / 1.302 GB, free: 8.801 MB / 1.029 GB Notification: Performance of Templates: time 0.002567/1.122, allocations: 0.9379 MB / 1.303 GB, free: 7.871 MB / 1.029 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