Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007103/0.0007103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009549/0.001665, 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.0006989/0.0006989, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008588/0.001558, 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.934/0.934, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08791/1.022, 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.519/2.519, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2624/2.781, allocations: 145.9 MB / 0.817 GB, free: 4.188 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.415e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002052/0.002076, allocations: 1.375 MB / 0.8196 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.1416, allocations: 127.5 MB / 0.9442 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.1417, allocations: 0 / 0.9442 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.1417, allocations: 7.922 kB / 0.9442 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1417, allocations: 3.938 kB / 0.9442 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.142, allocations: 59.67 kB / 0.9442 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.1421, allocations: 27.86 kB / 0.9443 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.1421, allocations: 0 / 0.9443 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.1422, allocations: 23.86 kB / 0.9443 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.1422, allocations: 7.984 kB / 0.9443 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1423, allocations: 0 / 0.9443 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.1424, allocations: 15.98 kB / 0.9443 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1424, allocations: 7.938 kB / 0.9443 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.1424, allocations: 4 kB / 0.9443 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1425, allocations: 27.92 kB / 0.9443 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.931e-05/0.1425, allocations: 0 / 0.9443 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1425, allocations: 4 kB / 0.9443 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.1425, allocations: 0 / 0.9443 GB, free: 1.301 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003549/0.1429, allocations: 228.6 kB / 0.9446 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1429, allocations: 12.62 kB / 0.9446 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1431, allocations: 94.03 kB / 0.9447 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.1432, allocations: 121.6 kB / 0.9448 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.1432, allocations: 55.97 kB / 0.9448 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1432, allocations: 384 / 0.9448 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.1433, allocations: 46.95 kB / 0.9449 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1433, allocations: 8.188 kB / 0.9449 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.1433, allocations: 4.312 kB / 0.9449 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1433, allocations: 4.125 kB / 0.9449 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.1434, allocations: 7.984 kB / 0.9449 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.573e-05/0.1434, allocations: 61.05 kB / 0.945 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.1435, allocations: 30.55 kB / 0.945 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.1435, allocations: 4.859 kB / 0.945 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.1435, allocations: 0 / 0.945 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1435, allocations: 34.56 kB / 0.945 GB, free: 488 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1435, allocations: 0 / 0.945 GB, free: 488 kB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 9.84e-05/0.1436, allocations: 45.78 kB / 0.9451 GB, free: 436 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1437, allocations: 55.41 kB / 0.9451 GB, free: 368 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.1437, allocations: 106.6 kB / 0.9452 GB, free: 248 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.1437, allocations: 25.7 kB / 0.9453 GB, free: 216 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/0.1437, allocations: 80.14 kB / 0.9453 GB, free: 132 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1438, allocations: 7.938 kB / 0.9453 GB, free: 124 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1438, allocations: 13.72 kB / 0.9453 GB, free: 104 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.1439, allocations: 314.8 kB / 0.9456 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1439, allocations: 4 kB / 0.9457 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.1439, allocations: 8 kB / 0.9457 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.1439, allocations: 16.84 kB / 0.9457 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1439, allocations: 0 / 0.9457 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.326e-05/0.144, allocations: 41.69 kB / 0.9457 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.144, allocations: 4 kB / 0.9457 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.144, allocations: 0 / 0.9457 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.144, allocations: 3.938 kB / 0.9457 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1441, allocations: 4 kB / 0.9457 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1441, allocations: 4 kB / 0.9457 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1441, allocations: 7.953 kB / 0.9457 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1441, allocations: 7.938 kB / 0.9457 GB, free: 15.68 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 4.885e-05/0.1441, allocations: 109.8 kB / 0.9459 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.1441, allocations: 7.984 kB / 0.9459 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.1442, allocations: 7.688 kB / 0.9459 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1442, allocations: 0 / 0.9459 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1442, allocations: 0 / 0.9459 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1442, allocations: 4 kB / 0.9459 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.342e-05/0.1442, allocations: 65.84 kB / 0.9459 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1442, allocations: 3.938 kB / 0.9459 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.1442, allocations: 7.984 kB / 0.9459 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.1443, allocations: 4.516 kB / 0.9459 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1443, allocations: 4 kB / 0.946 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.1443, allocations: 0 / 0.946 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.1443, allocations: 0 / 0.946 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1443, allocations: 0 / 0.946 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.233e-05/0.1443, allocations: 76.98 kB / 0.946 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.1443, allocations: 0 / 0.946 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.1443, allocations: 0 / 0.946 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1444, allocations: 7.984 kB / 0.946 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1444, allocations: 0 / 0.946 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.666e-06/0.1444, allocations: 4.859 kB / 0.946 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1444, allocations: 4 kB / 0.946 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of remove unused functions: time 8.671e-05/0.1445, allocations: 8 kB / 0.946 GB, free: 15.32 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.0001016/0.1446, allocations: 76.42 kB / 0.9461 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.243e-05/0.1446, allocations: 24.83 kB / 0.9461 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1446, allocations: 3.938 kB / 0.9461 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.1446, allocations: 8.859 kB / 0.9462 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1448, allocations: 19.86 kB / 0.9462 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1458, allocations: 150.9 kB / 0.9463 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.1458, allocations: 59.34 kB / 0.9464 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.1459, allocations: 4 kB / 0.9464 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.1459, allocations: 51.38 kB / 0.9464 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/0.1459, allocations: 11.88 kB / 0.9464 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.002034/0.148, allocations: 0.5349 MB / 0.947 GB, free: 14.33 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.341856543906033]