Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001923/0.001923, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.7 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.78 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3391, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002624/0.3417, allocations: 1.343 MB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.4846, allocations: 129.9 MB / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.4847, allocations: 0 / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.4847, allocations: 0 / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.4848, allocations: 3.938 kB / 1.196 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.4852, allocations: 51.8 kB / 1.196 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.4852, allocations: 23.86 kB / 1.196 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.4853, allocations: 4 kB / 1.196 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.4853, allocations: 11.92 kB / 1.196 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.4854, allocations: 11.98 kB / 1.196 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4855, allocations: 4 kB / 1.196 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.4856, allocations: 15.98 kB / 1.196 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.4856, allocations: 4 kB / 1.196 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.4856, allocations: 7.938 kB / 1.196 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.4858, allocations: 28.14 kB / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4858, allocations: 0 / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4858, allocations: 0 / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.4858, allocations: 0 / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003919/0.4862, allocations: 327.6 kB / 1.196 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4863, allocations: 15.97 kB / 1.196 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.4863, allocations: 8.844 kB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4864, allocations: 172.2 kB / 1.196 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.4865, allocations: 34.25 kB / 1.196 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.4865, allocations: 384 / 1.196 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4867, allocations: 42.19 kB / 1.196 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4867, allocations: 3.938 kB / 1.196 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4867, allocations: 4 kB / 1.196 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4867, allocations: 0 / 1.196 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.4868, allocations: 15.98 kB / 1.196 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.4869, allocations: 157.7 kB / 1.197 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.4871, allocations: 30.52 kB / 1.197 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.4871, allocations: 16.94 kB / 1.197 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4873, allocations: 89.09 kB / 1.197 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4873, allocations: 34.56 kB / 1.197 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4873, allocations: 4 kB / 1.197 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002415/0.4876, allocations: 57.61 kB / 1.197 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4876, allocations: 55.34 kB / 1.197 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.4877, allocations: 97.86 kB / 1.197 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4877, allocations: 25.7 kB / 1.197 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.4877, allocations: 80.14 kB / 1.197 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4878, allocations: 19.8 kB / 1.197 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.4878, allocations: 13.72 kB / 1.197 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.4879, allocations: 314.8 kB / 1.197 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.488, allocations: 4 kB / 1.197 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.488, allocations: 11.98 kB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.4881, allocations: 20.84 kB / 1.197 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4881, allocations: 0 / 1.197 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/0.4882, allocations: 57.62 kB / 1.198 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4883, allocations: 11.88 kB / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4883, allocations: 0 / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4883, allocations: 0.5156 kB / 1.198 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.4884, allocations: 11.98 kB / 1.198 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4884, allocations: 0 / 1.198 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.4884, allocations: 0 / 1.198 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4884, allocations: 0 / 1.198 GB, free: 5.004 MB / 0.9512 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 6.862e-05/0.4885, allocations: 111.6 kB / 1.198 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.4885, allocations: 7.938 kB / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4887, allocations: 65.16 kB / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4887, allocations: 0 / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4887, allocations: 0 / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4887, allocations: 0 / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.635e-05/0.4888, allocations: 153.7 kB / 1.198 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4888, allocations: 7.938 kB / 1.198 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.4889, allocations: 4 kB / 1.198 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4889, allocations: 3.938 kB / 1.198 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4889, allocations: 8 kB / 1.198 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4889, allocations: 3.938 kB / 1.198 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4889, allocations: 0 / 1.198 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.4891, allocations: 77.02 kB / 1.198 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.4891, allocations: 77.11 kB / 1.198 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4891, allocations: 7.922 kB / 1.198 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.4892, allocations: 8 kB / 1.198 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.4892, allocations: 4 kB / 1.198 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.4892, allocations: 0 / 1.198 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.4893, allocations: 79.28 kB / 1.198 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4893, allocations: 0 / 1.198 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001965/0.4895, allocations: 19.92 kB / 1.198 GB, free: 4.273 MB / 0.9512 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.00014/0.4896, allocations: 107.2 kB / 1.198 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4898, allocations: 23.97 kB / 1.198 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4898, allocations: 4 kB / 1.198 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.4898, allocations: 8 kB / 1.198 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4901, allocations: 11.98 kB / 1.198 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.4904, allocations: 129.4 kB / 1.198 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4906, allocations: 0.6731 MB / 1.199 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.4906, allocations: 11.97 kB / 1.199 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.4907, allocations: 11.44 kB / 1.199 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.4907, allocations: 0 / 1.199 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.002437/0.4931, allocations: 486.2 kB / 1.2 GB, free: 2.758 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches