Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.00104/0.00104, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001114/0.001114, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.9656/0.9656, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.803/1.803, allocations: 359 MB / 0.6055 GB, free: 10.87 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.585e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1273/0.1273, allocations: 146.8 MB / 0.931 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1313, allocations: 3.202 MB / 0.9341 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.1317, allocations: 47.62 kB / 0.9341 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.1323, allocations: 250.1 kB / 0.9344 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1335, allocations: 0.9012 MB / 0.9353 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.1344, allocations: 0.6937 MB / 0.9359 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1357, allocations: 2.019 MB / 0.9379 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.1363, allocations: 0.6373 MB / 0.9385 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.1377, allocations: 1.13 MB / 0.9396 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.1382, allocations: 0.6036 MB / 0.9402 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.1383, allocations: 80 kB / 0.9403 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.1387, allocations: 387 kB / 0.9407 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.1389, allocations: 418.8 kB / 0.9411 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.1392, allocations: 363.2 kB / 0.9414 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.1401, allocations: 0.9538 MB / 0.9423 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1401, allocations: 0 / 0.9423 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1401, allocations: 0 / 0.9423 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1401, allocations: 0 / 0.9423 GB, free: 13.18 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001079/0.1412, allocations: 1.262 MB / 0.9436 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1412, allocations: 8.031 kB / 0.9436 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.1418, allocations: 287.8 kB / 0.9439 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.1424, allocations: 0.6059 MB / 0.9445 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.1425, allocations: 62.12 kB / 0.9445 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.1425, allocations: 83.94 kB / 0.9446 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.1432, allocations: 0.8342 MB / 0.9454 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1432, allocations: 4 kB / 0.9454 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.1433, allocations: 32 kB / 0.9454 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1433, allocations: 25.31 kB / 0.9455 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.1436, allocations: 253.8 kB / 0.9457 GB, free: 9.523 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.00222/0.1458, allocations: 4.634 MB / 0.9502 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.1461, allocations: 293.5 kB / 0.9505 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1462, allocations: 111.7 kB / 0.9506 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.1463, allocations: 35.12 kB / 0.9507 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1463, allocations: 41.72 kB / 0.9507 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.1463, allocations: 0 / 0.9507 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001012/0.1473, allocations: 0.718 MB / 0.9514 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1473, allocations: 106.8 kB / 0.9515 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1476, allocations: 0.5375 MB / 0.952 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1477, allocations: 37.7 kB / 0.9521 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1479, allocations: 490.7 kB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.148, allocations: 174.6 kB / 0.9527 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1481, allocations: 127.9 kB / 0.9528 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1482, allocations: 0.5546 MB / 0.9534 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.1483, allocations: 53.27 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.1485, allocations: 489.5 kB / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.149, allocations: 0.5663 MB / 0.9544 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.149, allocations: 0 / 0.9544 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003906/0.1494, allocations: 433 kB / 0.9548 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1494, allocations: 8 kB / 0.9548 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1494, allocations: 8.062 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1494, allocations: 15.94 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1497, allocations: 127.8 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1497, allocations: 11.98 kB / 0.955 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1499, allocations: 23.94 kB / 0.955 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.1499, allocations: 20 kB / 0.955 GB, free: 15.35 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001511/0.1501, allocations: 212.2 kB / 0.9552 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.1501, allocations: 79.58 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.1502, allocations: 74.25 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1502, allocations: 8 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1502, allocations: 4 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000275/0.1505, allocations: 0.5073 MB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1515, allocations: 1.249 MB / 0.9571 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1515, allocations: 7.938 kB / 0.9571 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1517, allocations: 99.83 kB / 0.9572 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1517, allocations: 4 kB / 0.9572 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1517, allocations: 16.06 kB / 0.9572 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1517, allocations: 8 kB / 0.9572 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1518, allocations: 7.938 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1522, allocations: 0.6259 MB / 0.9579 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1523, allocations: 107.5 kB / 0.958 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1524, allocations: 12 kB / 0.958 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1525, allocations: 16 kB / 0.958 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1526, allocations: 43.81 kB / 0.958 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1526, allocations: 12 kB / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000172/0.1528, allocations: 330.6 kB / 0.9584 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 0.9584 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003815/0.1531, allocations: 195.9 kB / 0.9586 GB, free: 11.46 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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.0002693/0.1534, allocations: 177.7 kB / 0.9587 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1537, allocations: 264.8 kB / 0.959 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1537, allocations: 0 / 0.959 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1538, allocations: 129.2 kB / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.1546, allocations: 347.9 kB / 0.9594 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1561, allocations: 1.492 MB / 0.9609 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1562, allocations: 202.4 kB / 0.9611 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.1564, allocations: 97.44 kB / 0.9612 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.1569, allocations: 333.9 kB / 0.9615 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.1569, allocations: 0 / 0.9615 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of Templates: time 0.01388/0.1707, allocations: 12.9 MB / 0.9741 GB, free: 11.78 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.390418640803546]