Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_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_latest_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.001483/0.001483, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.001745/0.001745, allocations: 192.3 kB / 17.35 MB, free: 5.742 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.478/1.478, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 72.09 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003074/1.041, allocations: 1.495 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1648/1.206, allocations: 132.1 MB / 1.339 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/1.206, allocations: 4 kB / 1.339 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.687e-05/1.206, allocations: 3.938 kB / 1.339 GB, free: 7.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/1.206, allocations: 7.875 kB / 1.339 GB, free: 7.492 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/1.207, allocations: 67.7 kB / 1.339 GB, free: 7.426 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/1.207, allocations: 63.61 kB / 1.339 GB, free: 7.367 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/1.207, allocations: 19.78 kB / 1.339 GB, free: 7.352 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/1.207, allocations: 19.92 kB / 1.339 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/1.207, allocations: 23.92 kB / 1.339 GB, free: 7.309 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/1.207, allocations: 4 kB / 1.339 GB, free: 7.305 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/1.207, allocations: 19.98 kB / 1.339 GB, free: 7.285 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/1.207, allocations: 11.92 kB / 1.339 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/1.208, allocations: 27.86 kB / 1.339 GB, free: 7.246 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/1.208, allocations: 51.88 kB / 1.339 GB, free: 7.195 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.208, allocations: 7.938 kB / 1.339 GB, free: 7.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/1.208, allocations: 0 / 1.339 GB, free: 7.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.208, allocations: 4 kB / 1.339 GB, free: 7.184 MB / 1.061 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.0006756/1.208, allocations: 365.1 kB / 1.34 GB, free: 6.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.209, allocations: 12.03 kB / 1.34 GB, free: 6.766 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/1.209, allocations: 4.922 kB / 1.34 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.209, allocations: 172.2 kB / 1.34 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.209, allocations: 4.375 kB / 1.34 GB, free: 6.551 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/1.209, allocations: 12.31 kB / 1.34 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/1.209, allocations: 78.19 kB / 1.34 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.209, allocations: 192 / 1.34 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.209, allocations: 3.938 kB / 1.34 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.209, allocations: 0 / 1.34 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/1.21, allocations: 83.8 kB / 1.34 GB, free: 6.371 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/1.21, allocations: 272.8 kB / 1.34 GB, free: 6.055 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/1.21, allocations: 58.53 kB / 1.34 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.21, allocations: 40.91 kB / 1.34 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/1.211, allocations: 93.05 kB / 1.34 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.211, allocations: 34.55 kB / 1.34 GB, free: 5.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/1.211, allocations: 0 / 1.34 GB, free: 5.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006163/1.211, allocations: 125.6 kB / 1.34 GB, free: 5.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.211, allocations: 55.41 kB / 1.341 GB, free: 5.598 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.212, allocations: 117.8 kB / 1.341 GB, free: 5.473 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/1.212, allocations: 25.7 kB / 1.341 GB, free: 5.441 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/1.212, allocations: 92.05 kB / 1.341 GB, free: 5.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/1.212, allocations: 7.906 kB / 1.341 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/1.212, allocations: 13.72 kB / 1.341 GB, free: 5.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.212, allocations: 322.8 kB / 1.341 GB, free: 4.996 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.212, allocations: 31.97 kB / 1.341 GB, free: 4.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/1.212, allocations: 35.89 kB / 1.341 GB, free: 4.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/1.212, allocations: 68.73 kB / 1.341 GB, free: 4.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.212, allocations: 7.984 kB / 1.341 GB, free: 4.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003238/1.213, allocations: 93.62 kB / 1.341 GB, free: 4.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.213, allocations: 4 kB / 1.341 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/1.213, allocations: 0 / 1.341 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.213, allocations: 4 kB / 1.341 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.213, allocations: 12.31 kB / 1.341 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.213, allocations: 4 kB / 1.341 GB, free: 4.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/1.213, allocations: 23.83 kB / 1.341 GB, free: 4.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/1.213, allocations: 0 / 1.341 GB, free: 4.707 MB / 1.061 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 9.535e-05/1.213, allocations: 125.7 kB / 1.341 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/1.213, allocations: 4 kB / 1.341 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/1.214, allocations: 113.5 kB / 1.342 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.214, allocations: 0 / 1.342 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.214, allocations: 0 / 1.342 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/1.214, allocations: 81.02 kB / 1.342 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/1.214, allocations: 3.938 kB / 1.342 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.214, allocations: 11.98 kB / 1.342 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/1.214, allocations: 7.922 kB / 1.342 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000425/1.214, allocations: 196.8 kB / 1.342 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000411/1.215, allocations: 266.7 kB / 1.342 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001634/1.215, allocations: 39.95 kB / 1.342 GB, free: 3.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.717e-05/1.215, allocations: 95.64 kB / 1.342 GB, free: 3.711 MB / 1.061 GB Notification: Performance of Backend: time 6.52e-07/1.215, allocations: 0 / 1.342 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005879/1.215, allocations: 122.4 kB / 1.342 GB, free: 3.586 MB / 1.061 GB Notification: Performance of SimCode: time 0.0007833/1.216, allocations: 0.6162 MB / 1.343 GB, free: 2.922 MB / 1.061 GB Notification: Performance of Templates: time 0.003783/1.22, allocations: 1.039 MB / 1.344 GB, free: 1.895 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches