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 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.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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.47 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002806/0.3697, allocations: 1.49 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.5091, allocations: 132.1 MB / 1.199 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.5092, allocations: 0 / 1.199 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.5093, allocations: 3.938 kB / 1.199 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.5094, allocations: 3.938 kB / 1.199 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.5098, allocations: 67.66 kB / 1.199 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.5099, allocations: 59.78 kB / 1.199 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5101, allocations: 24.2 kB / 1.199 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.5101, allocations: 19.92 kB / 1.199 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.5102, allocations: 23.91 kB / 1.199 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.5102, allocations: 4 kB / 1.199 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.5103, allocations: 16 kB / 1.199 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.5103, allocations: 11.92 kB / 1.199 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.5104, allocations: 19.94 kB / 1.199 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.5105, allocations: 55.8 kB / 1.199 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5105, allocations: 7.938 kB / 1.199 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5106, allocations: 4 kB / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.5106, allocations: 0 / 1.199 GB, free: 4.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005377/0.5111, allocations: 371.3 kB / 1.199 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5112, allocations: 8.031 kB / 1.199 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.5112, allocations: 4.938 kB / 1.199 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.5113, allocations: 172.2 kB / 1.199 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5114, allocations: 8.375 kB / 1.199 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.5114, allocations: 384 / 1.199 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.5117, allocations: 78.2 kB / 1.2 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.5117, allocations: 192 / 1.2 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5117, allocations: 3.938 kB / 1.2 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5117, allocations: 4 kB / 1.2 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.512, allocations: 67.86 kB / 1.2 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.5125, allocations: 292.7 kB / 1.2 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.5127, allocations: 54.53 kB / 1.2 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.5128, allocations: 36.92 kB / 1.2 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.513, allocations: 97.03 kB / 1.2 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.513, allocations: 30.56 kB / 1.2 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.513, allocations: 4 kB / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005531/0.5136, allocations: 129.6 kB / 1.2 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.5136, allocations: 51.41 kB / 1.2 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.5138, allocations: 125.7 kB / 1.2 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.5138, allocations: 29.64 kB / 1.2 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.5139, allocations: 91.98 kB / 1.2 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.5139, allocations: 15.89 kB / 1.201 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.5139, allocations: 9.719 kB / 1.201 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5141, allocations: 326.8 kB / 1.201 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.5142, allocations: 31.95 kB / 1.201 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.5144, allocations: 35.91 kB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.5146, allocations: 65.06 kB / 1.201 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5146, allocations: 4 kB / 1.201 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.515, allocations: 101.6 kB / 1.201 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.515, allocations: 4 kB / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.515, allocations: 0 / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.515, allocations: 0 / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.5152, allocations: 19.97 kB / 1.201 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5152, allocations: 7.984 kB / 1.201 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.5153, allocations: 15.89 kB / 1.201 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5153, allocations: 0 / 1.201 GB, free: 1.578 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 8.438e-05/0.5154, allocations: 118.2 kB / 1.201 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.5154, allocations: 4 kB / 1.201 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.5158, allocations: 109.5 kB / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5158, allocations: 0 / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5158, allocations: 4 kB / 1.201 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5158, allocations: 3.984 kB / 1.201 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.516, allocations: 177.5 kB / 1.202 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.516, allocations: 0 / 1.202 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.5161, allocations: 15.97 kB / 1.202 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5161, allocations: 0 / 1.202 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.5161, allocations: 4 kB / 1.202 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5161, allocations: 4 kB / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5161, allocations: 0 / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.5165, allocations: 195.3 kB / 1.202 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.5166, allocations: 85.11 kB / 1.202 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5166, allocations: 3.984 kB / 1.202 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5167, allocations: 11.98 kB / 1.202 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.5168, allocations: 4 kB / 1.202 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.5168, allocations: 0 / 1.202 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.5169, allocations: 99.64 kB / 1.202 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.5169, allocations: 0 / 1.202 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002409/0.5171, allocations: 23.84 kB / 1.202 GB, free: 0.625 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.0001493/0.5173, allocations: 103.2 kB / 1.202 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.5176, allocations: 75.86 kB / 1.202 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5176, allocations: 0 / 1.202 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.5178, allocations: 35.95 kB / 1.202 GB, free: 416 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.5181, allocations: 15.94 kB / 1.202 GB, free: 400 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.5185, allocations: 159.7 kB / 1.202 GB, free: 212 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5188, allocations: 0.6845 MB / 1.203 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.5188, allocations: 8.234 kB / 1.203 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.5188, allocations: 11.44 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.5188, allocations: 0 / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.003442/0.5223, allocations: 0.9982 MB / 1.204 GB, free: 14.49 MB / 0.9669 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/jenkins/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