Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007993/0.0007993, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001848, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001037/0.001037, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002359, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9798/0.9798, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/1.071, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2602/2.685, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.077e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002265/0.002286, allocations: 1.595 MB / 0.8198 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.136, allocations: 127.6 MB / 0.9444 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1361, allocations: 0 / 0.9444 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.1361, allocations: 11.94 kB / 0.9444 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.1361, allocations: 11.86 kB / 0.9444 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1364, allocations: 67.66 kB / 0.9445 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.1365, allocations: 55.73 kB / 0.9446 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1366, allocations: 12 kB / 0.9446 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.1367, allocations: 31.91 kB / 0.9446 GB, free: 1.094 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.1368, allocations: 27.89 kB / 0.9446 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1368, allocations: 4 kB / 0.9446 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1369, allocations: 16 kB / 0.9446 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1369, allocations: 11.94 kB / 0.9447 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.1369, allocations: 12 kB / 0.9447 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1371, allocations: 51.78 kB / 0.9447 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-05/0.1371, allocations: 0 / 0.9447 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1371, allocations: 0 / 0.9447 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.1371, allocations: 0 / 0.9447 GB, free: 0.9727 MB / 0.9167 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.000445/0.1375, allocations: 268.5 kB / 0.945 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1376, allocations: 12.61 kB / 0.945 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.1378, allocations: 101.9 kB / 0.9451 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1379, allocations: 117.7 kB / 0.9452 GB, free: 424 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1379, allocations: 384 / 0.9452 GB, free: 424 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.138, allocations: 4.375 kB / 0.9452 GB, free: 420 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1381, allocations: 74.91 kB / 0.9453 GB, free: 336 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1381, allocations: 192 / 0.9453 GB, free: 336 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1381, allocations: 384 / 0.9453 GB, free: 336 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1381, allocations: 4.359 kB / 0.9453 GB, free: 332 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.1382, allocations: 19.81 kB / 0.9453 GB, free: 312 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1385, allocations: 160.4 kB / 0.9454 GB, free: 136 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.1385, allocations: 30.56 kB / 0.9455 GB, free: 96 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.1385, allocations: 8.859 kB / 0.9455 GB, free: 84 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.1386, allocations: 0 / 0.9455 GB, free: 84 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1386, allocations: 38.5 kB / 0.9455 GB, free: 36 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.1386, allocations: 0 / 0.9455 GB, free: 36 kB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001439/0.1387, allocations: 45.72 kB / 0.9456 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1388, allocations: 51.41 kB / 0.9456 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.1388, allocations: 114.7 kB / 0.9457 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1388, allocations: 25.7 kB / 0.9457 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.1389, allocations: 96.02 kB / 0.9458 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1389, allocations: 15.94 kB / 0.9458 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1389, allocations: 9.719 kB / 0.9459 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.139, allocations: 314.8 kB / 0.9462 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.139, allocations: 4 kB / 0.9462 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.139, allocations: 7.922 kB / 0.9462 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.1391, allocations: 12.86 kB / 0.9462 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1391, allocations: 0 / 0.9462 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.34e-05/0.1391, allocations: 37.69 kB / 0.9462 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1392, allocations: 8 kB / 0.9462 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1392, allocations: 3.938 kB / 0.9462 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1392, allocations: 0 / 0.9462 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.1393, allocations: 19.98 kB / 0.9462 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.1393, allocations: 0 / 0.9462 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.1393, allocations: 7.984 kB / 0.9463 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1393, allocations: 4 kB / 0.9463 GB, free: 15.21 MB / 0.9323 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 6.059e-05/0.1394, allocations: 113.8 kB / 0.9464 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1394, allocations: 4 kB / 0.9464 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.1394, allocations: 11.94 kB / 0.9464 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1394, allocations: 0 / 0.9464 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1394, allocations: 0 / 0.9464 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1394, allocations: 7.984 kB / 0.9464 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.1395, allocations: 69.86 kB / 0.9465 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1395, allocations: 336 / 0.9465 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1396, allocations: 15.92 kB / 0.9465 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.1396, allocations: 12 kB / 0.9465 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1396, allocations: 0 / 0.9465 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1396, allocations: 7.984 kB / 0.9465 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1396, allocations: 3.938 kB / 0.9465 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1396, allocations: 0 / 0.9465 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1397, allocations: 147.5 kB / 0.9466 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.1397, allocations: 4 kB / 0.9466 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.1397, allocations: 8 kB / 0.9466 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1398, allocations: 7.922 kB / 0.9467 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1398, allocations: 0 / 0.9467 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.616e-05/0.1398, allocations: 16.86 kB / 0.9467 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1398, allocations: 0 / 0.9467 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001206/0.1399, allocations: 11.94 kB / 0.9467 GB, free: 14.73 MB / 0.9323 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.0001117/0.14, allocations: 80.41 kB / 0.9468 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.542e-05/0.1401, allocations: 12.86 kB / 0.9468 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1401, allocations: 0 / 0.9468 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.1401, allocations: 20.8 kB / 0.9468 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.1403, allocations: 19.97 kB / 0.9468 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1413, allocations: 160.4 kB / 0.947 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.1414, allocations: 63.34 kB / 0.947 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.1414, allocations: 0 / 0.947 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.1415, allocations: 55.38 kB / 0.9471 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/0.1415, allocations: 0 / 0.9471 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of Templates: time 0.002999/0.1445, allocations: 0.9645 MB / 0.948 GB, free: 13.32 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3551140846684575]