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.001188/0.001188, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001136/0.001136, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.15 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 1.972/1.972, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 70.98 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2333, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002119/0.2354, allocations: 1.279 MB / 0.9524 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1188/0.3542, allocations: 132 MB / 1.081 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3543, allocations: 0 / 1.081 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3544, allocations: 3.938 kB / 1.081 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.3544, allocations: 3.938 kB / 1.081 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3548, allocations: 59.72 kB / 1.081 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.3548, allocations: 27.86 kB / 1.081 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.3549, allocations: 7.984 kB / 1.081 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.3549, allocations: 7.938 kB / 1.081 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.355, allocations: 8 kB / 1.081 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.355, allocations: 4 kB / 1.081 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.3551, allocations: 23.86 kB / 1.081 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.3551, allocations: 0 / 1.081 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.3551, allocations: 7.984 kB / 1.081 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.3552, allocations: 31.84 kB / 1.081 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3552, allocations: 0 / 1.081 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3553, allocations: 0 / 1.081 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3553, allocations: 4 kB / 1.081 GB, free: 2.062 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.0003406/0.3556, allocations: 327.5 kB / 1.082 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3557, allocations: 16.03 kB / 1.082 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3557, allocations: 0.9375 kB / 1.082 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.3558, allocations: 168.3 kB / 1.082 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.3559, allocations: 30.25 kB / 1.082 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3559, allocations: 4.375 kB / 1.082 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.356, allocations: 42.19 kB / 1.082 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.356, allocations: 3.938 kB / 1.082 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.356, allocations: 0 / 1.082 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.356, allocations: 0 / 1.082 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.3561, allocations: 19.97 kB / 1.082 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.3562, allocations: 153.6 kB / 1.082 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.3563, allocations: 34.61 kB / 1.082 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3564, allocations: 12.95 kB / 1.082 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3565, allocations: 89.09 kB / 1.082 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3565, allocations: 46.42 kB / 1.082 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3565, allocations: 0 / 1.082 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002026/0.3568, allocations: 57.62 kB / 1.082 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3568, allocations: 51.41 kB / 1.082 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.3569, allocations: 101.8 kB / 1.083 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3569, allocations: 25.7 kB / 1.083 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.3569, allocations: 80.14 kB / 1.083 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3569, allocations: 3.906 kB / 1.083 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.357, allocations: 21.72 kB / 1.083 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.357, allocations: 314.8 kB / 1.083 GB, free: 256 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.3571, allocations: 4 kB / 1.083 GB, free: 252 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.3571, allocations: 15.94 kB / 1.083 GB, free: 236 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.3572, allocations: 20.84 kB / 1.083 GB, free: 212 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3572, allocations: 0 / 1.083 GB, free: 212 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001061/0.3573, allocations: 57.67 kB / 1.083 GB, free: 148 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3573, allocations: 9.969 kB / 1.083 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3574, allocations: 0 / 1.083 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3574, allocations: 0 / 1.083 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.3574, allocations: 4 kB / 1.083 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3574, allocations: 7.938 kB / 1.083 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3575, allocations: 0 / 1.083 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3575, allocations: 0 / 1.083 GB, free: 128 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 6.177e-05/0.3575, allocations: 117.8 kB / 1.083 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3767/0.7342, allocations: 5.938 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.7345, allocations: 53.03 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7345, allocations: 1.438 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7345, allocations: 1.656 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7345, allocations: 1.094 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.991e-05/0.7346, allocations: 152.9 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7346, allocations: 1.047 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.7347, allocations: 6.422 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.7347, allocations: 4.203 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.7347, allocations: 1.906 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7347, allocations: 1.656 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7347, allocations: 1.453 kB / 1.083 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.7349, allocations: 82.67 kB / 1.084 GB, free: 140.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.7349, allocations: 83.75 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.7349, allocations: 2.016 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.735, allocations: 2.031 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.735, allocations: 5.969 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.735, allocations: 2.531 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.735, allocations: 81.55 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.735, allocations: 0.5625 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002153/0.7353, allocations: 17.84 kB / 1.084 GB, free: 140.6 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.0001332/0.7354, allocations: 111.2 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.7355, allocations: 28.58 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7356, allocations: 3.719 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.7356, allocations: 9.812 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.7358, allocations: 9.344 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.7361, allocations: 127.2 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.7362, allocations: 0.6801 MB / 1.085 GB, free: 139.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.7362, allocations: 4.562 kB / 1.085 GB, free: 139.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.7362, allocations: 10.41 kB / 1.085 GB, free: 139.7 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.7362, allocations: 0.5 kB / 1.085 GB, free: 139.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.002465/0.7387, allocations: 0.5145 MB / 1.085 GB, free: 139.7 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 cvode -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