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.001161/0.001161, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001233/0.001233, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.64 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3556, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00391/0.3596, allocations: 1.497 MB / 0.9517 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1672/0.5268, allocations: 132.1 MB / 1.081 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.527, allocations: 4 kB / 1.081 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.5271, allocations: 3.938 kB / 1.081 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.5272, allocations: 7.875 kB / 1.081 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.5277, allocations: 67.7 kB / 1.081 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.5278, allocations: 55.84 kB / 1.081 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.5279, allocations: 16.22 kB / 1.081 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.528, allocations: 15.92 kB / 1.081 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.5281, allocations: 31.84 kB / 1.081 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.5281, allocations: 4 kB / 1.081 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.5282, allocations: 15.94 kB / 1.081 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.5282, allocations: 11.98 kB / 1.081 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.5283, allocations: 23.88 kB / 1.081 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.5284, allocations: 55.86 kB / 1.081 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5284, allocations: 0 / 1.081 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.436e-06/0.5285, allocations: 4 kB / 1.081 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5285, allocations: 3.938 kB / 1.081 GB, free: 2.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005866/0.5291, allocations: 371.3 kB / 1.081 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5291, allocations: 12.03 kB / 1.081 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.5292, allocations: 8.844 kB / 1.081 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5293, allocations: 168.3 kB / 1.082 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5293, allocations: 4.375 kB / 1.082 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.5293, allocations: 4.375 kB / 1.082 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.5296, allocations: 78.14 kB / 1.082 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5296, allocations: 4.172 kB / 1.082 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5297, allocations: 3.938 kB / 1.082 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5297, allocations: 4 kB / 1.082 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.53, allocations: 71.91 kB / 1.082 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.5304, allocations: 284.7 kB / 1.082 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.5307, allocations: 54.58 kB / 1.082 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.5308, allocations: 48.75 kB / 1.082 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.531, allocations: 89.09 kB / 1.082 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5311, allocations: 30.56 kB / 1.082 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5311, allocations: 0 / 1.082 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005771/0.5316, allocations: 137.5 kB / 1.082 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5317, allocations: 51.41 kB / 1.082 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5318, allocations: 113.8 kB / 1.082 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5318, allocations: 33.64 kB / 1.083 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.5319, allocations: 88.08 kB / 1.083 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.5319, allocations: 11.89 kB / 1.083 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.532, allocations: 17.72 kB / 1.083 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5321, allocations: 318.8 kB / 1.083 GB, free: 292 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.5323, allocations: 31.95 kB / 1.083 GB, free: 260 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5325, allocations: 27.97 kB / 1.083 GB, free: 232 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.5327, allocations: 72.78 kB / 1.083 GB, free: 156 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5328, allocations: 0 / 1.083 GB, free: 156 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.5331, allocations: 101.5 kB / 1.083 GB, free: 48 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5331, allocations: 8 kB / 1.083 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5331, allocations: 7.938 kB / 1.083 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5331, allocations: 0 / 1.083 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5333, allocations: 23.91 kB / 1.083 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.5333, allocations: 0 / 1.083 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5772/1.11, allocations: 9.891 kB / 1.083 GB, free: 141.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/1.111, allocations: 1.094 kB / 1.083 GB, free: 141.8 MB / 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.0001002/1.111, allocations: 113.1 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/1.111, allocations: 4.375 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/1.111, allocations: 109.3 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.111, allocations: 0.9062 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.111, allocations: 1.312 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.111, allocations: 2.922 kB / 1.083 GB, free: 141.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/1.112, allocations: 170.3 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.112, allocations: 0.7812 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/1.112, allocations: 19.91 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/1.112, allocations: 1.219 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/1.112, allocations: 2.266 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.112, allocations: 1.125 kB / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.112, allocations: 0 / 1.084 GB, free: 141.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/1.112, allocations: 201.3 kB / 1.084 GB, free: 141.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/1.112, allocations: 82.8 kB / 1.084 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/1.112, allocations: 7.594 kB / 1.084 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.112, allocations: 16.7 kB / 1.084 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.112, allocations: 3.812 kB / 1.084 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.112, allocations: 2.344 kB / 1.084 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.513e-05/1.113, allocations: 94.67 kB / 1.084 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.113, allocations: 0 / 1.084 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002847/1.113, allocations: 15.59 kB / 1.084 GB, free: 141.1 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.0001744/1.113, allocations: 109 kB / 1.084 GB, free: 141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004345/1.113, allocations: 75.08 kB / 1.084 GB, free: 141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.113, allocations: 0 / 1.084 GB, free: 141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.114, allocations: 38.73 kB / 1.084 GB, free: 141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.114, allocations: 15.52 kB / 1.084 GB, free: 141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/1.114, allocations: 180.6 kB / 1.084 GB, free: 140.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.115, allocations: 0.6867 MB / 1.085 GB, free: 140.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/1.115, allocations: 10.25 kB / 1.085 GB, free: 140.2 MB / 0.8575 GB Notification: Performance of SimCode: time 9.72e-07/1.115, allocations: 4.531 kB / 1.085 GB, free: 140.2 MB / 0.8575 GB Notification: Performance of Templates: time 0.003294/1.118, allocations: 0.9354 MB / 1.086 GB, free: 140.2 MB / 0.8575 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