Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_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_10_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.001967/0.001967, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002691/0.002691, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.666/2.666, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6321, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002272/0.6344, allocations: 1.342 MB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.7773, allocations: 129.9 MB / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.7773, allocations: 0 / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.7774, allocations: 0 / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.7774, allocations: 3.984 kB / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.7778, allocations: 51.8 kB / 1.145 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.7779, allocations: 27.86 kB / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.7779, allocations: 4 kB / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.7779, allocations: 7.984 kB / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.778, allocations: 7.938 kB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.778, allocations: 4 kB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.7781, allocations: 19.92 kB / 1.145 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.7781, allocations: 4 kB / 1.145 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.7781, allocations: 11.94 kB / 1.145 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.7782, allocations: 21.94 kB / 1.145 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7782, allocations: 4 kB / 1.145 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7782, allocations: 0 / 1.145 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7783, allocations: 0 / 1.145 GB, free: 14.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003566/0.7786, allocations: 335.5 kB / 1.145 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7787, allocations: 8.031 kB / 1.145 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.7787, allocations: 8.922 kB / 1.145 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7788, allocations: 164.3 kB / 1.145 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.7789, allocations: 38.2 kB / 1.145 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.7789, allocations: 384 / 1.145 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.779, allocations: 38.25 kB / 1.145 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7791, allocations: 7.938 kB / 1.145 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.7791, allocations: 0 / 1.145 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.7791, allocations: 0 / 1.145 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.7792, allocations: 19.92 kB / 1.146 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.7793, allocations: 153.7 kB / 1.146 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.7794, allocations: 30.61 kB / 1.146 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.7795, allocations: 12.86 kB / 1.146 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.7796, allocations: 89.19 kB / 1.146 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.7797, allocations: 38.56 kB / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7797, allocations: 0 / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002154/0.7799, allocations: 65.48 kB / 1.146 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.78, allocations: 55.41 kB / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.78, allocations: 93.86 kB / 1.146 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.7801, allocations: 25.7 kB / 1.146 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.7801, allocations: 84.14 kB / 1.146 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.7801, allocations: 15.83 kB / 1.146 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.7801, allocations: 9.719 kB / 1.146 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.7803, allocations: 318.8 kB / 1.146 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.7803, allocations: 7.984 kB / 1.146 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.7803, allocations: 8 kB / 1.146 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.7804, allocations: 21.31 kB / 1.146 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7804, allocations: 4 kB / 1.146 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.7806, allocations: 53.61 kB / 1.147 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7806, allocations: 10.12 kB / 1.147 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7806, allocations: 0 / 1.147 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7806, allocations: 4 kB / 1.147 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.7807, allocations: 7.984 kB / 1.147 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7807, allocations: 4 kB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.7807, allocations: 3.906 kB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.7807, allocations: 4 kB / 1.147 GB, free: 12.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 6.344e-05/0.7808, allocations: 109.8 kB / 1.147 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.7808, allocations: 3.938 kB / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.781, allocations: 61.11 kB / 1.147 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.781, allocations: 3.938 kB / 1.147 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.781, allocations: 0 / 1.147 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.781, allocations: 4 kB / 1.147 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.7811, allocations: 153.7 kB / 1.147 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7811, allocations: 4 kB / 1.147 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.7812, allocations: 4 kB / 1.147 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.7812, allocations: 7.938 kB / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.7812, allocations: 0 / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7812, allocations: 3.984 kB / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.7812, allocations: 0 / 1.147 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.7813, allocations: 81.06 kB / 1.147 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.7814, allocations: 81.09 kB / 1.147 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.7814, allocations: 3.938 kB / 1.147 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.7815, allocations: 4 kB / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.7815, allocations: 0 / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7815, allocations: 0 / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.7816, allocations: 87.27 kB / 1.147 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7816, allocations: 0 / 1.147 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001826/0.7818, allocations: 8 kB / 1.147 GB, free: 12.22 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.0001813/0.7819, allocations: 123.2 kB / 1.147 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.7821, allocations: 19.98 kB / 1.147 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7821, allocations: 0 / 1.147 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.7821, allocations: 11.94 kB / 1.147 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.7824, allocations: 11.97 kB / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.7827, allocations: 145.3 kB / 1.147 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7829, allocations: 0.6731 MB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.783, allocations: 4.453 kB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.783, allocations: 15.44 kB / 1.148 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.783, allocations: 0 / 1.148 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.002786/0.7858, allocations: 490.6 kB / 1.149 GB, free: 10.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches