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.001136/0.001136, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002275, allocations: 440 kB / 10.41 MB, free: 284 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.0007098/0.0007098, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009558/0.001666, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9883/0.9883, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0839/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.344/2.344, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2613/2.606, allocations: 146 MB / 0.8176 GB, free: 3.855 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.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.159e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002085/0.002106, allocations: 1.383 MB / 0.8203 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1236/0.1257, allocations: 127.5 MB / 0.9448 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.1258, allocations: 0 / 0.9448 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.1258, allocations: 3.984 kB / 0.9448 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.1258, allocations: 3.938 kB / 0.9448 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1261, allocations: 63.61 kB / 0.9449 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.1262, allocations: 23.86 kB / 0.9449 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.1262, allocations: 4 kB / 0.9449 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.1263, allocations: 15.98 kB / 0.9449 GB, free: 1.008 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.1294, allocations: 4 kB / 0.9449 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1294, allocations: 0 / 0.9449 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1295, allocations: 27.86 kB / 0.9449 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1295, allocations: 0 / 0.9449 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.1295, allocations: 8 kB / 0.9449 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1296, allocations: 27.84 kB / 0.945 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.1296, allocations: 0 / 0.945 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1296, allocations: 4 kB / 0.945 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.1296, allocations: 0 / 0.945 GB, free: 0.9375 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.0003403/0.13, allocations: 236.6 kB / 0.9452 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.13, allocations: 8.031 kB / 0.9452 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.1302, allocations: 94.03 kB / 0.9453 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.1303, allocations: 113.7 kB / 0.9454 GB, free: 436 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.1303, allocations: 55.97 kB / 0.9455 GB, free: 368 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1303, allocations: 384 / 0.9455 GB, free: 368 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.1304, allocations: 54.88 kB / 0.9455 GB, free: 304 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1304, allocations: 192 / 0.9455 GB, free: 304 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1304, allocations: 4.375 kB / 0.9455 GB, free: 300 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1304, allocations: 8.125 kB / 0.9455 GB, free: 292 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.1305, allocations: 8 kB / 0.9455 GB, free: 284 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.917e-05/0.1306, allocations: 61.03 kB / 0.9456 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.664e-05/0.1306, allocations: 22.61 kB / 0.9456 GB, free: 176 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1306, allocations: 8.859 kB / 0.9456 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-06/0.1306, allocations: 0 / 0.9456 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1307, allocations: 38.5 kB / 0.9457 GB, free: 116 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.1307, allocations: 0 / 0.9457 GB, free: 116 kB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 9.923e-05/0.1308, allocations: 41.78 kB / 0.9457 GB, free: 68 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1308, allocations: 55.41 kB / 0.9458 GB, free: 0 / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.1308, allocations: 94.95 kB / 0.9458 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.1308, allocations: 33.7 kB / 0.9459 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.1309, allocations: 80.14 kB / 0.946 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1309, allocations: 11.92 kB / 0.946 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1309, allocations: 17.72 kB / 0.946 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.131, allocations: 314.8 kB / 0.9463 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.131, allocations: 4 kB / 0.9463 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.131, allocations: 7.938 kB / 0.9463 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1311, allocations: 16.78 kB / 0.9463 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1311, allocations: 0 / 0.9463 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.07e-05/0.1311, allocations: 41.69 kB / 0.9463 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1311, allocations: 8 kB / 0.9464 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1311, allocations: 0 / 0.9464 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1311, allocations: 0 / 0.9464 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1312, allocations: 4 kB / 0.9464 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.1312, allocations: 0 / 0.9464 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.1312, allocations: 7.953 kB / 0.9464 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1312, allocations: 3.938 kB / 0.9464 GB, free: 15.32 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 5.879e-05/0.1313, allocations: 113.8 kB / 0.9465 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.1313, allocations: 8.031 kB / 0.9465 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.1313, allocations: 11.69 kB / 0.9465 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1313, allocations: 0 / 0.9465 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1313, allocations: 0 / 0.9465 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1313, allocations: 0 / 0.9465 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.1314, allocations: 73.83 kB / 0.9466 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1314, allocations: 4 kB / 0.9466 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.1314, allocations: 7.984 kB / 0.9466 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.1314, allocations: 0 / 0.9466 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1314, allocations: 4 kB / 0.9466 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.1314, allocations: 0 / 0.9466 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1314, allocations: 0 / 0.9466 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1314, allocations: 4 kB / 0.9466 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.1315, allocations: 69.06 kB / 0.9467 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.1315, allocations: 0 / 0.9467 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.1315, allocations: 0 / 0.9467 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1315, allocations: 7.922 kB / 0.9467 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.1316, allocations: 4 kB / 0.9467 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.348e-06/0.1316, allocations: 4.859 kB / 0.9467 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1316, allocations: 0 / 0.9467 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001345/0.1317, allocations: 8 kB / 0.9467 GB, free: 14.96 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.0001101/0.1318, allocations: 80.42 kB / 0.9468 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.468e-05/0.1319, allocations: 24.78 kB / 0.9468 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1319, allocations: 0 / 0.9468 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.1319, allocations: 8.859 kB / 0.9468 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.132, allocations: 26.11 kB / 0.9468 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.1363, allocations: 152.6 kB / 0.947 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.1363, allocations: 55.36 kB / 0.947 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.1364, allocations: 0 / 0.947 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.1364, allocations: 59.36 kB / 0.9471 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of SimCode: time 6.61e-07/0.1364, allocations: 4 kB / 0.9471 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of Templates: time 0.005172/0.1416, allocations: 0.5359 MB / 0.9476 GB, free: 13.96 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.204279522411525]