Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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.001162/0.001162, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.00138/0.00138, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 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.9128/0.9128, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.729/1.729, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.677e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1282/0.1282, allocations: 149.4 MB / 0.933 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005598/0.1338, allocations: 3.804 MB / 0.9367 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.1344, allocations: 47.62 kB / 0.9367 GB, free: 2.797 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.1351, allocations: 222.3 kB / 0.9369 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.137, allocations: 0.909 MB / 0.9378 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1385, allocations: 0.7869 MB / 0.9386 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.1403, allocations: 1.855 MB / 0.9404 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/0.141, allocations: 485.1 kB / 0.9409 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.1425, allocations: 0.9998 MB / 0.9418 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.1432, allocations: 0.5063 MB / 0.9423 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.1432, allocations: 59.98 kB / 0.9424 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1442, allocations: 0.604 MB / 0.943 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.1445, allocations: 295.1 kB / 0.9433 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.1448, allocations: 283.4 kB / 0.9435 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1459, allocations: 0.9071 MB / 0.9444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1459, allocations: 4 kB / 0.9444 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1459, allocations: 0 / 0.9444 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.1459, allocations: 0 / 0.9444 GB, free: 10.88 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00128/0.1472, allocations: 1.114 MB / 0.9455 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1473, allocations: 8.031 kB / 0.9455 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000902/0.1482, allocations: 263.9 kB / 0.9458 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.1489, allocations: 0.5697 MB / 0.9463 GB, free: 8.867 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.1489, allocations: 37 kB / 0.9464 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.149, allocations: 52 kB / 0.9464 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.1496, allocations: 465.4 kB / 0.9469 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1496, allocations: 0 / 0.9469 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.1496, allocations: 16 kB / 0.9469 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.1497, allocations: 17 kB / 0.9469 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.15, allocations: 177.9 kB / 0.9471 GB, free: 8.078 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.1518, allocations: 1.23 MB / 0.9483 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.1521, allocations: 208.1 kB / 0.9485 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1523, allocations: 100.1 kB / 0.9486 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1524, allocations: 24.27 kB / 0.9486 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1524, allocations: 37.67 kB / 0.9486 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.1524, allocations: 8 kB / 0.9486 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.0006703/0.1531, allocations: 319.3 kB / 0.9489 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1531, allocations: 59.34 kB / 0.949 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1535, allocations: 494.7 kB / 0.9495 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1536, allocations: 33.7 kB / 0.9495 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1538, allocations: 375.2 kB / 0.9498 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.1538, allocations: 118.9 kB / 0.95 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.154, allocations: 71.69 kB / 0.95 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1541, allocations: 0.543 MB / 0.9506 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1542, allocations: 60.97 kB / 0.9506 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.1546, allocations: 304.5 kB / 0.9509 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1548, allocations: 164.1 kB / 0.9511 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1548, allocations: 0 / 0.9511 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003988/0.1552, allocations: 286 kB / 0.9513 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1552, allocations: 4.094 kB / 0.9513 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1552, allocations: 8 kB / 0.9513 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1552, allocations: 0 / 0.9513 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1555, allocations: 67.91 kB / 0.9514 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1555, allocations: 0 / 0.9514 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1557, allocations: 35.78 kB / 0.9514 GB, free: 3.355 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1557, allocations: 11.98 kB / 0.9515 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001788/0.1559, allocations: 182.8 kB / 0.9516 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000192/0.1561, allocations: 291.7 kB / 0.9519 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002377/0.1563, allocations: 170.6 kB / 0.9521 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.1563, allocations: 0 / 0.9521 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003777/0.1567, allocations: 277.1 kB / 0.9523 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.1567, allocations: 4 kB / 0.9523 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1567, allocations: 4 kB / 0.9523 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/0.1567, allocations: 0 / 0.9523 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1569, allocations: 67.91 kB / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.1569, allocations: 0 / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1572, allocations: 39.88 kB / 0.9524 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1572, allocations: 8 kB / 0.9525 GB, free: 2.223 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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 0.0001185/0.1573, allocations: 295.9 kB / 0.9527 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/0.1574, allocations: 63.67 kB / 0.9528 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.1578, allocations: 260 kB / 0.953 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1578, allocations: 4 kB / 0.9531 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1578, allocations: 3.938 kB / 0.9531 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002869/0.1581, allocations: 276.3 kB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1592, allocations: 0.8973 MB / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1592, allocations: 4 kB / 0.9542 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1594, allocations: 79.89 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1594, allocations: 0 / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1595, allocations: 8 kB / 0.9543 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1595, allocations: 7.938 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1595, allocations: 4 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.16, allocations: 0.5016 MB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.1602, allocations: 99.52 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.1602, allocations: 15.98 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1605, allocations: 15.94 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.1606, allocations: 23.95 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.1606, allocations: 20.05 kB / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002574/0.1608, allocations: 318.8 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 3.938 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006757/0.1615, allocations: 339.3 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0002377/0.1617, allocations: 147 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.1622, allocations: 289.1 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1622, allocations: 0 / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1624, allocations: 108.1 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.1635, allocations: 334.2 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1652, allocations: 1.111 MB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.1653, allocations: 162.3 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005063/0.1658, allocations: 156.6 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.1659, allocations: 44.5 kB / 0.9579 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of SimCode: time 1.303e-06/0.1659, allocations: 0 / 0.9579 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of Templates: time 0.01448/0.1804, allocations: 11.92 MB / 0.9695 GB, free: 0.8281 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.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.257154263090342]