Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001093/0.001093, allocations: 107 kB / 16.36 MB, free: 6.336 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.0009891/0.0009891, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 63.11 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2882, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002244/0.2905, allocations: 1.275 MB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1295/0.42, allocations: 132 MB / 1.081 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.4201, allocations: 0 / 1.081 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.4201, allocations: 4 kB / 1.081 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.4202, allocations: 3.938 kB / 1.081 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.4205, allocations: 67.66 kB / 1.081 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.4206, allocations: 23.86 kB / 1.081 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.4207, allocations: 4 kB / 1.081 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.4207, allocations: 7.984 kB / 1.081 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.4208, allocations: 4 kB / 1.081 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4208, allocations: 3.938 kB / 1.081 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.338e-05/0.4209, allocations: 19.92 kB / 1.081 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.4209, allocations: 4 kB / 1.081 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.4209, allocations: 4 kB / 1.081 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.421, allocations: 31.84 kB / 1.081 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.421, allocations: 4 kB / 1.081 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.421, allocations: 0 / 1.081 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4211, allocations: 0 / 1.081 GB, free: 2.055 MB / 0.8575 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.0003366/0.4214, allocations: 335.5 kB / 1.082 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4214, allocations: 8.031 kB / 1.082 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.4215, allocations: 4.938 kB / 1.082 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.4216, allocations: 164.3 kB / 1.082 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.4217, allocations: 38.27 kB / 1.082 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4217, allocations: 384 / 1.082 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.4218, allocations: 38.25 kB / 1.082 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4218, allocations: 3.938 kB / 1.082 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.4218, allocations: 4 kB / 1.082 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4218, allocations: 3.938 kB / 1.082 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.4219, allocations: 15.98 kB / 1.082 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.4221, allocations: 157.6 kB / 1.082 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.4221, allocations: 30.61 kB / 1.082 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.4222, allocations: 12.86 kB / 1.082 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.4224, allocations: 97.06 kB / 1.082 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4224, allocations: 38.56 kB / 1.082 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4224, allocations: 0 / 1.082 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002095/0.4226, allocations: 61.55 kB / 1.082 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4227, allocations: 55.41 kB / 1.082 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.4227, allocations: 93.86 kB / 1.083 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.4227, allocations: 25.7 kB / 1.083 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.4228, allocations: 88.12 kB / 1.083 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.4228, allocations: 7.906 kB / 1.083 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4228, allocations: 9.719 kB / 1.083 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.4229, allocations: 318.8 kB / 1.083 GB, free: 240 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.423, allocations: 7.984 kB / 1.083 GB, free: 232 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.423, allocations: 8 kB / 1.083 GB, free: 224 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.4231, allocations: 25.25 kB / 1.083 GB, free: 196 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4231, allocations: 0 / 1.083 GB, free: 196 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.4232, allocations: 49.73 kB / 1.083 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.4232, allocations: 7.938 kB / 1.083 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4233, allocations: 3.984 kB / 1.083 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4233, allocations: 4 kB / 1.083 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.4233, allocations: 7.984 kB / 1.083 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4234, allocations: 4 kB / 1.083 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.4234, allocations: 0 / 1.083 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4234, allocations: 4 kB / 1.083 GB, free: 108 kB / 0.8575 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 0.4303/0.8537, allocations: 113.2 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.8538, allocations: 3.75 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.854, allocations: 54.27 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8541, allocations: 0.6562 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8541, allocations: 0.8125 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8541, allocations: 2.188 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.618e-05/0.8542, allocations: 155.4 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8542, allocations: 0.75 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.8542, allocations: 12.2 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.8543, allocations: 0.7188 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.8543, allocations: 2.719 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.8543, allocations: 0 / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8543, allocations: 0.875 kB / 1.083 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.8544, allocations: 83.34 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.8545, allocations: 83.16 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.8545, allocations: 1.375 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.8545, allocations: 2.938 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.8546, allocations: 8.281 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.8546, allocations: 0.6562 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.8546, allocations: 82.61 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8546, allocations: 1.562 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002431/0.8549, allocations: 16.62 kB / 1.084 GB, free: 140.4 MB / 0.8575 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.0001486/0.855, allocations: 107.8 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.8552, allocations: 27.84 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8552, allocations: 0.7812 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.8552, allocations: 13.55 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.8555, allocations: 12.91 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.8558, allocations: 126.3 kB / 1.084 GB, free: 140.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.8559, allocations: 0.6796 MB / 1.085 GB, free: 139.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.8559, allocations: 4.969 kB / 1.085 GB, free: 139.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.8559, allocations: 10.78 kB / 1.085 GB, free: 139.6 MB / 0.8575 GB Notification: Performance of SimCode: time 1.172e-06/0.8559, allocations: 0 / 1.085 GB, free: 139.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.00277/0.8587, allocations: 0.5109 MB / 1.085 GB, free: 139.5 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches