Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001549/0.001549, allocations: 161 kB / 23.82 MB, free: 0.75 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.9476/0.9476, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.8/1.8, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.497e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.129/0.129, allocations: 149.4 MB / 0.9575 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.1342, allocations: 3.813 MB / 0.9612 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.1348, allocations: 43.62 kB / 0.9612 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.1354, allocations: 218.3 kB / 0.9614 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.1369, allocations: 0.9091 MB / 0.9623 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1382, allocations: 0.7791 MB / 0.9631 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1399, allocations: 1.863 MB / 0.9649 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.1406, allocations: 489.2 kB / 0.9654 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.1423, allocations: 0.9902 MB / 0.9663 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.143, allocations: 0.4946 MB / 0.9668 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.1431, allocations: 60 kB / 0.9669 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1441, allocations: 0.6117 MB / 0.9675 GB, free: 412 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.1443, allocations: 287.2 kB / 0.9677 GB, free: 124 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.1447, allocations: 279.3 kB / 0.968 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1459, allocations: 0.9188 MB / 0.9689 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1459, allocations: 0 / 0.9689 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1459, allocations: 0 / 0.9689 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.103e-05/0.1459, allocations: 4 kB / 0.9689 GB, free: 14.92 MB / 0.8855 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.001634/0.1476, allocations: 1.106 MB / 0.97 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1476, allocations: 12.03 kB / 0.97 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/0.1484, allocations: 252 kB / 0.9702 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.1491, allocations: 0.5657 MB / 0.9708 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.1491, allocations: 37 kB / 0.9708 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.1492, allocations: 48 kB / 0.9709 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.1497, allocations: 477.3 kB / 0.9713 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1497, allocations: 4 kB / 0.9713 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1497, allocations: 24 kB / 0.9714 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.1498, allocations: 13 kB / 0.9714 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.15, allocations: 177.9 kB / 0.9715 GB, free: 12.12 MB / 0.8855 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.001519/0.1516, allocations: 1.23 MB / 0.9727 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.1519, allocations: 213.1 kB / 0.9729 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.152, allocations: 96.2 kB / 0.973 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1521, allocations: 20.27 kB / 0.973 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1522, allocations: 41.67 kB / 0.9731 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.1522, allocations: 0 / 0.9731 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.0005986/0.1528, allocations: 327.9 kB / 0.9734 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.1528, allocations: 63.28 kB / 0.9735 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.1531, allocations: 494.7 kB / 0.9739 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1532, allocations: 33.7 kB / 0.974 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1534, allocations: 371.1 kB / 0.9743 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.1535, allocations: 122.9 kB / 0.9744 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.1535, allocations: 71.69 kB / 0.9745 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1537, allocations: 0.5469 MB / 0.975 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.1538, allocations: 52.97 kB / 0.9751 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.154, allocations: 304.5 kB / 0.9754 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.1542, allocations: 181.2 kB / 0.9756 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1542, allocations: 0 / 0.9756 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004388/0.1546, allocations: 268.9 kB / 0.9758 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1546, allocations: 4 kB / 0.9758 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1546, allocations: 0 / 0.9758 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1547, allocations: 7.938 kB / 0.9758 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1548, allocations: 67.91 kB / 0.9759 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1548, allocations: 8.094 kB / 0.9759 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.155, allocations: 27.81 kB / 0.9759 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.155, allocations: 16 kB / 0.9759 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001549/0.1552, allocations: 178.8 kB / 0.9761 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001569/0.1554, allocations: 291.7 kB / 0.9764 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001923/0.1555, allocations: 178.6 kB / 0.9766 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.1556, allocations: 0 / 0.9766 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002796/0.1558, allocations: 269.1 kB / 0.9768 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.1558, allocations: 4 kB / 0.9768 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1558, allocations: 0 / 0.9768 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.1558, allocations: 4 kB / 0.9768 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.156, allocations: 71.84 kB / 0.9769 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.156, allocations: 4 kB / 0.9769 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1562, allocations: 23.88 kB / 0.9769 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1562, allocations: 16 kB / 0.9769 GB, free: 6.273 MB / 0.8855 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.0001101/0.1563, allocations: 288 kB / 0.9772 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.1564, allocations: 75.62 kB / 0.9773 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.1567, allocations: 250.9 kB / 0.9775 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1567, allocations: 4 kB / 0.9775 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1567, allocations: 0 / 0.9775 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002258/0.1569, allocations: 285.7 kB / 0.9778 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.1578, allocations: 0.8914 MB / 0.9787 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1578, allocations: 8.188 kB / 0.9787 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.158, allocations: 83.89 kB / 0.9788 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.158, allocations: 4 kB / 0.9788 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.158, allocations: 8 kB / 0.9788 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.158, allocations: 7.938 kB / 0.9788 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.158, allocations: 0 / 0.9788 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.1587, allocations: 0.5056 MB / 0.9793 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1589, allocations: 91.56 kB / 0.9794 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.1589, allocations: 12 kB / 0.9794 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1591, allocations: 25.81 kB / 0.9794 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1592, allocations: 23.95 kB / 0.9794 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1592, allocations: 12 kB / 0.9794 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002113/0.1594, allocations: 326.8 kB / 0.9797 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1594, allocations: 0 / 0.9797 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005116/0.1599, allocations: 339.2 kB / 0.9801 GB, free: 2.918 MB / 0.8855 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.0002221/0.1601, allocations: 151.1 kB / 0.9802 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.1605, allocations: 289.2 kB / 0.9805 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1605, allocations: 4 kB / 0.9805 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1606, allocations: 103.5 kB / 0.9806 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.1615, allocations: 325.9 kB / 0.9809 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1629, allocations: 1.111 MB / 0.982 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.163, allocations: 166.3 kB / 0.9821 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.1633, allocations: 156.7 kB / 0.9823 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.1634, allocations: 56.48 kB / 0.9823 GB, free: 488 kB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/0.1634, allocations: 0 / 0.9823 GB, free: 488 kB / 0.8855 GB Notification: Performance of Templates: time 0.01537/0.1788, allocations: 11.91 MB / 0.994 GB, free: 4.871 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.399529067333788]