Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_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_9_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.001506/0.001506, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001865/0.001865, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.3, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003468/1.304, allocations: 1.496 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2276/1.531, allocations: 132.1 MB / 1.219 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/1.532, allocations: 5.094 kB / 1.219 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.332e-05/1.532, allocations: 11.86 kB / 1.219 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/1.532, allocations: 13.02 kB / 1.219 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/1.533, allocations: 66.88 kB / 1.219 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/1.533, allocations: 57.22 kB / 1.219 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/1.533, allocations: 19.16 kB / 1.219 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/1.533, allocations: 19.61 kB / 1.219 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/1.533, allocations: 27.38 kB / 1.219 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/1.533, allocations: 3.594 kB / 1.219 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/1.533, allocations: 11.53 kB / 1.219 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/1.533, allocations: 17.27 kB / 1.219 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/1.533, allocations: 21.94 kB / 1.219 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/1.534, allocations: 57.45 kB / 1.219 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.534, allocations: 1.25 kB / 1.219 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.602e-05/1.534, allocations: 0 / 1.219 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.066e-06/1.534, allocations: 3.938 kB / 1.219 GB, free: 2.125 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.0007033/1.534, allocations: 372.7 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.534, allocations: 8.75 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/1.534, allocations: 7.312 kB / 1.22 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/1.535, allocations: 180 kB / 1.22 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/1.535, allocations: 1.625 kB / 1.22 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.535, allocations: 5.781 kB / 1.22 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/1.535, allocations: 74.83 kB / 1.22 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.535, allocations: 192 / 1.22 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.535, allocations: 3.938 kB / 1.22 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.535, allocations: 1.094 kB / 1.22 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/1.535, allocations: 74.48 kB / 1.22 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/1.536, allocations: 282.8 kB / 1.22 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/1.536, allocations: 48.98 kB / 1.22 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.536, allocations: 47.09 kB / 1.22 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/1.537, allocations: 89.8 kB / 1.22 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.537, allocations: 39.8 kB / 1.221 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/1.537, allocations: 0 / 1.221 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006309/1.537, allocations: 131.5 kB / 1.221 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/1.537, allocations: 51.41 kB / 1.221 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/1.538, allocations: 116.8 kB / 1.221 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.538, allocations: 25.7 kB / 1.221 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/1.538, allocations: 90.66 kB / 1.221 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/1.538, allocations: 12.95 kB / 1.221 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/1.538, allocations: 25.03 kB / 1.221 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.538, allocations: 311.9 kB / 1.221 GB, free: 188 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/1.538, allocations: 33.36 kB / 1.221 GB, free: 172 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.538, allocations: 29.69 kB / 1.221 GB, free: 160 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/1.539, allocations: 79.59 kB / 1.221 GB, free: 112 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.539, allocations: 0 / 1.221 GB, free: 112 kB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003691/1.539, allocations: 98.31 kB / 1.221 GB, free: 48 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.539, allocations: 5.594 kB / 1.222 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.539, allocations: 4 kB / 1.222 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.539, allocations: 5.281 kB / 1.222 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/1.539, allocations: 17.97 kB / 1.222 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.539, allocations: 1.125 kB / 1.222 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/1.539, allocations: 14.14 kB / 1.222 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.539, allocations: 5.031 kB / 1.222 GB, free: 20 kB / 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 0.0001445/1.539, allocations: 115.8 kB / 1.222 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/1.54, allocations: 10.69 kB / 1.222 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/1.54, allocations: 106.1 kB / 1.222 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.54, allocations: 0 / 1.222 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.54, allocations: 0 / 1.222 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/1.54, allocations: 86.22 kB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/1.54, allocations: 5.219 kB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.54, allocations: 10.67 kB / 1.222 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.54, allocations: 10.53 kB / 1.222 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004785/1.541, allocations: 188.8 kB / 1.222 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004752/1.541, allocations: 269.5 kB / 1.222 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001652/1.541, allocations: 35.41 kB / 1.222 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.896e-05/1.542, allocations: 91.67 kB / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of Backend: time 4.31e-07/1.542, allocations: 1.156 kB / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006058/1.542, allocations: 131.1 kB / 1.223 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007625/1.543, allocations: 0.6052 MB / 1.223 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of Templates: time 0.004676/1.548, allocations: 1.048 MB / 1.224 GB, free: 13.98 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches