Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.935e-05, allocations: 5.094 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002932/0.002961, allocations: 1.502 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.154, allocations: 115.8 MB / 1.066 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.1541, allocations: 0 / 1.066 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.1541, allocations: 7.938 kB / 1.066 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.1542, allocations: 11.86 kB / 1.066 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1546, allocations: 59.73 kB / 1.066 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1547, allocations: 59.72 kB / 1.066 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1548, allocations: 11.97 kB / 1.066 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.1549, allocations: 27.98 kB / 1.066 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.1549, allocations: 23.91 kB / 1.066 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.155, allocations: 4 kB / 1.066 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1551, allocations: 23.88 kB / 1.066 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.1551, allocations: 11.98 kB / 1.066 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.1551, allocations: 15.92 kB / 1.066 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1553, allocations: 67.73 kB / 1.066 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1553, allocations: 0 / 1.066 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1553, allocations: 0 / 1.066 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1553, allocations: 0 / 1.066 GB, free: 5.508 MB / 0.9669 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.0005706/0.1559, allocations: 298.1 kB / 1.066 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1559, allocations: 12.03 kB / 1.066 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.156, allocations: 4.891 kB / 1.066 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1561, allocations: 117.7 kB / 1.066 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1561, allocations: 12.36 kB / 1.066 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1561, allocations: 384 / 1.066 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1564, allocations: 82.12 kB / 1.066 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1564, allocations: 192 / 1.066 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1564, allocations: 384 / 1.066 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1565, allocations: 4.375 kB / 1.066 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.1568, allocations: 71.86 kB / 1.066 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1572, allocations: 208.6 kB / 1.067 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1574, allocations: 62.47 kB / 1.067 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1576, allocations: 36.91 kB / 1.067 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.1577, allocations: 16 kB / 1.067 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1577, allocations: 38.48 kB / 1.067 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1577, allocations: 0 / 1.067 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000617/0.1584, allocations: 125.5 kB / 1.067 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1584, allocations: 59.34 kB / 1.067 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1585, allocations: 113.8 kB / 1.067 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1586, allocations: 29.7 kB / 1.067 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.1586, allocations: 92.45 kB / 1.067 GB, free: 4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1586, allocations: 11.89 kB / 1.067 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1587, allocations: 9.719 kB / 1.067 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1588, allocations: 322.8 kB / 1.067 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.159, allocations: 31.91 kB / 1.068 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1591, allocations: 39.91 kB / 1.068 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1594, allocations: 64.78 kB / 1.068 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1594, allocations: 0 / 1.068 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003883/0.1598, allocations: 109.5 kB / 1.068 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1598, allocations: 11.98 kB / 1.068 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1599, allocations: 0 / 1.068 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1599, allocations: 0 / 1.068 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.16, allocations: 15.98 kB / 1.068 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.16, allocations: 0 / 1.068 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-05/0.1601, allocations: 11.98 kB / 1.068 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1601, allocations: 0 / 1.068 GB, free: 3.359 MB / 0.9669 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.546e-05/0.1602, allocations: 109.8 kB / 1.068 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1602, allocations: 7.938 kB / 1.068 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.1606, allocations: 113.9 kB / 1.068 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1606, allocations: 0 / 1.068 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1606, allocations: 4 kB / 1.068 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1606, allocations: 48 / 1.068 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1608, allocations: 117.2 kB / 1.068 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1608, allocations: 4 kB / 1.068 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1609, allocations: 11.98 kB / 1.068 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1609, allocations: 4 kB / 1.068 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1609, allocations: 3.938 kB / 1.068 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1609, allocations: 4 kB / 1.068 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1609, allocations: 0 / 1.068 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1613, allocations: 195.4 kB / 1.068 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.1613, allocations: 4 kB / 1.068 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1614, allocations: 3.938 kB / 1.068 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1615, allocations: 15.98 kB / 1.068 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1615, allocations: 7.984 kB / 1.068 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1615, allocations: 0 / 1.068 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.1616, allocations: 95.2 kB / 1.068 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.1616, allocations: 0 / 1.068 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002524/0.1618, allocations: 20.17 kB / 1.068 GB, free: 2.586 MB / 0.9669 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.0001703/0.162, allocations: 107.2 kB / 1.069 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1624, allocations: 67.92 kB / 1.069 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1624, allocations: 7.875 kB / 1.069 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1626, allocations: 31.97 kB / 1.069 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1629, allocations: 19.97 kB / 1.069 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1633, allocations: 156.8 kB / 1.069 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.1634, allocations: 71.28 kB / 1.069 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.1634, allocations: 0 / 1.069 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1635, allocations: 16.5 kB / 1.069 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.1635, allocations: 0 / 1.069 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of Templates: time 0.004064/0.1675, allocations: 0.9955 MB / 1.07 GB, free: 1.09 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.775121480226517]