Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.001367/0.001367, allocations: 80.3 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.001497/0.001497, allocations: 157.6 kB / 22.45 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.438/1.438, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.674/2.674, allocations: 359 MB / 0.6037 GB, free: 14.97 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.325e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002405/0.002439, allocations: 1.288 MB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.1537, allocations: 115.8 MB / 1.065 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.1537, allocations: 0 / 1.065 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.1538, allocations: 3.984 kB / 1.065 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.1538, allocations: 11.92 kB / 1.065 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1542, allocations: 51.69 kB / 1.065 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.1543, allocations: 23.86 kB / 1.065 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1544, allocations: 4 kB / 1.065 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.1544, allocations: 11.98 kB / 1.065 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.1545, allocations: 7.984 kB / 1.065 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1545, allocations: 4 kB / 1.065 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.1546, allocations: 27.86 kB / 1.065 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1546, allocations: 0 / 1.065 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1546, allocations: 7.984 kB / 1.065 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1547, allocations: 23.92 kB / 1.065 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1547, allocations: 0 / 1.065 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1547, allocations: 0 / 1.065 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1547, allocations: 0 / 1.065 GB, free: 5.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000436/0.1552, allocations: 266.3 kB / 1.066 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1552, allocations: 8.031 kB / 1.066 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1552, allocations: 4.938 kB / 1.066 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1554, allocations: 121.7 kB / 1.066 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.1555, allocations: 55.97 kB / 1.066 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1555, allocations: 4.375 kB / 1.066 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1556, allocations: 34.25 kB / 1.066 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1556, allocations: 8.125 kB / 1.066 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1556, allocations: 384 / 1.066 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1556, allocations: 4.125 kB / 1.066 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.1557, allocations: 19.98 kB / 1.066 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1559, allocations: 97.33 kB / 1.066 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.156, allocations: 34.55 kB / 1.066 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.1561, allocations: 12.86 kB / 1.066 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.1562, allocations: 12.08 kB / 1.066 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1562, allocations: 34.56 kB / 1.066 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1562, allocations: 0 / 1.066 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002476/0.1565, allocations: 57.67 kB / 1.066 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1565, allocations: 51.41 kB / 1.066 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.1566, allocations: 105.8 kB / 1.066 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1566, allocations: 25.7 kB / 1.066 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.1567, allocations: 88.08 kB / 1.066 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1567, allocations: 7.891 kB / 1.066 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1567, allocations: 17.72 kB / 1.067 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1569, allocations: 310.8 kB / 1.067 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.1569, allocations: 7.984 kB / 1.067 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.157, allocations: 8 kB / 1.067 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.1571, allocations: 29.31 kB / 1.067 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1571, allocations: 0 / 1.067 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001299/0.1572, allocations: 53.62 kB / 1.067 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1572, allocations: 11.98 kB / 1.067 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1572, allocations: 0 / 1.067 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1573, allocations: 0 / 1.067 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.1573, allocations: 7.938 kB / 1.067 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1573, allocations: 7.875 kB / 1.067 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1574, allocations: 4 kB / 1.067 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1574, allocations: 4 kB / 1.067 GB, free: 4.191 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 9.214e-05/0.1575, allocations: 105.8 kB / 1.067 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.1575, allocations: 4 kB / 1.067 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.1576, allocations: 57.36 kB / 1.067 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1576, allocations: 0 / 1.067 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1577, allocations: 4 kB / 1.067 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1577, allocations: 3.938 kB / 1.067 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.1577, allocations: 105.2 kB / 1.067 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1577, allocations: 0 / 1.067 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1578, allocations: 12 kB / 1.067 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1578, allocations: 0 / 1.067 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1578, allocations: 0 / 1.067 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1578, allocations: 3.938 kB / 1.067 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1578, allocations: 3.984 kB / 1.067 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.158, allocations: 81.06 kB / 1.067 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.158, allocations: 3.953 kB / 1.067 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.158, allocations: 0 / 1.067 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.158, allocations: 7.984 kB / 1.067 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1581, allocations: 0 / 1.067 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1581, allocations: 8 kB / 1.067 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.1581, allocations: 83.22 kB / 1.067 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 1.067 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001875/0.1583, allocations: 8 kB / 1.067 GB, free: 3.641 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.0001719/0.1585, allocations: 111.2 kB / 1.068 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1586, allocations: 27.91 kB / 1.068 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1586, allocations: 0 / 1.068 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.1587, allocations: 8 kB / 1.068 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1589, allocations: 11.98 kB / 1.068 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.1592, allocations: 116.9 kB / 1.068 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.1593, allocations: 55.36 kB / 1.068 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1593, allocations: 7.984 kB / 1.068 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1593, allocations: 12.5 kB / 1.068 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.1593, allocations: 0 / 1.068 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.003051/0.1624, allocations: 0.5488 MB / 1.068 GB, free: 2.711 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.682335928082466]