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.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.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.001192/0.001192, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.00117/0.00117, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.16 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.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.06 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2291, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00237/0.2315, allocations: 1.497 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.3592, allocations: 132.1 MB / 1.082 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.3593, allocations: 4 kB / 1.082 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3594, allocations: 3.938 kB / 1.082 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.3595, allocations: 15.84 kB / 1.082 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3599, allocations: 67.72 kB / 1.082 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.36, allocations: 55.73 kB / 1.082 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3601, allocations: 23.91 kB / 1.082 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.3601, allocations: 23.92 kB / 1.082 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.3602, allocations: 19.92 kB / 1.082 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3602, allocations: 4 kB / 1.082 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.3603, allocations: 19.98 kB / 1.082 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3603, allocations: 11.92 kB / 1.082 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3603, allocations: 19.94 kB / 1.082 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3605, allocations: 59.73 kB / 1.082 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3605, allocations: 0 / 1.082 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3605, allocations: 4 kB / 1.082 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3605, allocations: 4 kB / 1.082 GB, free: 1.652 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.0004579/0.361, allocations: 371.3 kB / 1.082 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.361, allocations: 12.03 kB / 1.082 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.361, allocations: 8.844 kB / 1.082 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3611, allocations: 164.3 kB / 1.082 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3612, allocations: 4.375 kB / 1.082 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3612, allocations: 4.312 kB / 1.082 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3614, allocations: 78.2 kB / 1.082 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3614, allocations: 192 / 1.082 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3614, allocations: 7.938 kB / 1.082 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3615, allocations: 4 kB / 1.082 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.3617, allocations: 67.86 kB / 1.083 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.3621, allocations: 288.7 kB / 1.083 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3623, allocations: 50.55 kB / 1.083 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3624, allocations: 44.84 kB / 1.083 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.3626, allocations: 93.09 kB / 1.083 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3626, allocations: 30.56 kB / 1.083 GB, free: 272 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3626, allocations: 3.938 kB / 1.083 GB, free: 268 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000472/0.3631, allocations: 137.5 kB / 1.083 GB, free: 124 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3631, allocations: 59.39 kB / 1.083 GB, free: 52 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.352/0.7151, allocations: 107 kB / 1.083 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.7152, allocations: 30.5 kB / 1.083 GB, free: 141.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.7152, allocations: 91.11 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.7152, allocations: 6.25 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.7153, allocations: 16.86 kB / 1.083 GB, free: 141.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.7153, allocations: 322 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.7155, allocations: 32.09 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.7156, allocations: 31.86 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.7159, allocations: 72.31 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7159, allocations: 1 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003011/0.7162, allocations: 97.8 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7162, allocations: 5.484 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7162, allocations: 1.469 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7163, allocations: 1.25 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.7164, allocations: 23.05 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7164, allocations: 1.656 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.7165, allocations: 12.66 kB / 1.084 GB, free: 140.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7165, allocations: 1.844 kB / 1.084 GB, free: 140.7 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 4.627e-05/0.7165, allocations: 113.9 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.7166, allocations: 7.344 kB / 1.084 GB, free: 140.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.7169, allocations: 110.8 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7169, allocations: 1.203 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7169, allocations: 1.406 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7169, allocations: 1.828 kB / 1.084 GB, free: 140.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.7171, allocations: 166.7 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7171, allocations: 2.203 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.7172, allocations: 22.47 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7172, allocations: 0.7188 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.7172, allocations: 6.781 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7172, allocations: 0 / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7172, allocations: 5.172 kB / 1.084 GB, free: 140.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.7175, allocations: 196.9 kB / 1.085 GB, free: 140.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.7175, allocations: 79.56 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7175, allocations: 5.922 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.7176, allocations: 16.23 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.7177, allocations: 7 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.7177, allocations: 3.75 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.7177, allocations: 92.69 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7177, allocations: 2.281 kB / 1.085 GB, free: 140.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002223/0.718, allocations: 21.67 kB / 1.085 GB, free: 140.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.0001179/0.7181, allocations: 105.8 kB / 1.085 GB, free: 140 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.7184, allocations: 69.17 kB / 1.085 GB, free: 140 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7184, allocations: 5.625 kB / 1.085 GB, free: 140 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.7186, allocations: 41.73 kB / 1.085 GB, free: 140 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.7188, allocations: 7.5 kB / 1.085 GB, free: 140 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.7191, allocations: 160.5 kB / 1.085 GB, free: 139.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.7192, allocations: 0.6879 MB / 1.086 GB, free: 139.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.7192, allocations: 8.797 kB / 1.086 GB, free: 139.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.7193, allocations: 9.719 kB / 1.086 GB, free: 139.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.7193, allocations: 0.9688 kB / 1.086 GB, free: 139.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.002986/0.7222, allocations: 1.004 MB / 1.087 GB, free: 139.1 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 -s cvode -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