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.000979/0.000979, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001097/0.001097, allocations: 166 kB / 24.87 MB, free: 9.258 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.9466/0.9466, allocations: 177.1 MB / 205.3 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.848/1.848, allocations: 359 MB / 0.6063 GB, free: 10.86 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.303e-06/1.303e-06, allocations: 0 / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.226e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.128/0.128, allocations: 146.8 MB / 0.9317 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005487/0.1335, allocations: 3.202 MB / 0.9348 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.1345, allocations: 47.62 kB / 0.9349 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.1354, allocations: 262 kB / 0.9351 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1372, allocations: 0.8895 MB / 0.936 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1386, allocations: 0.7015 MB / 0.9367 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.1408, allocations: 2.011 MB / 0.9387 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009111/0.1417, allocations: 0.6373 MB / 0.9393 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.1438, allocations: 1.133 MB / 0.9404 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.1451, allocations: 0.6114 MB / 0.941 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.1452, allocations: 84 kB / 0.9411 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007505/0.146, allocations: 383.1 kB / 0.9414 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.1463, allocations: 426.8 kB / 0.9418 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.1466, allocations: 343.2 kB / 0.9422 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.148, allocations: 0.9577 MB / 0.9431 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.148, allocations: 0 / 0.9431 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.084e-06/0.148, allocations: 7.922 kB / 0.9431 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.148, allocations: 0 / 0.9431 GB, free: 13.2 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.001428/0.1495, allocations: 1.259 MB / 0.9443 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1495, allocations: 12.03 kB / 0.9443 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.1502, allocations: 287.9 kB / 0.9446 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.1509, allocations: 0.6098 MB / 0.9452 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.151, allocations: 62.12 kB / 0.9453 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.1511, allocations: 79.95 kB / 0.9453 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.1517, allocations: 0.8264 MB / 0.9462 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1517, allocations: 0 / 0.9462 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.1518, allocations: 36 kB / 0.9462 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.1518, allocations: 29.31 kB / 0.9462 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.1521, allocations: 249.8 kB / 0.9465 GB, free: 9.547 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.002779/0.1549, allocations: 4.634 MB / 0.951 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.1554, allocations: 288.9 kB / 0.9513 GB, free: 4.43 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1555, allocations: 127.6 kB / 0.9514 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.1556, allocations: 24.31 kB / 0.9514 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1556, allocations: 41.72 kB / 0.9514 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/0.1556, allocations: 0 / 0.9514 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001189/0.1568, allocations: 0.7105 MB / 0.9521 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1569, allocations: 114.8 kB / 0.9522 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1572, allocations: 0.5411 MB / 0.9528 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1572, allocations: 29.7 kB / 0.9528 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1575, allocations: 498.7 kB / 0.9533 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.557e-05/0.1576, allocations: 166.6 kB / 0.9534 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1577, allocations: 127.9 kB / 0.9536 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1578, allocations: 0.5546 MB / 0.9541 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.1579, allocations: 65.25 kB / 0.9542 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.1584, allocations: 481.5 kB / 0.9546 GB, free: 0.6914 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.0005078/0.1589, allocations: 0.5617 MB / 0.9552 GB, free: 12 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1589, allocations: 8 kB / 0.9552 GB, free: 4 kB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004498/0.1594, allocations: 433 kB / 0.9556 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1594, allocations: 10.19 kB / 0.9556 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1594, allocations: 8 kB / 0.9556 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1594, allocations: 8 kB / 0.9556 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1597, allocations: 127.8 kB / 0.9557 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1597, allocations: 15.98 kB / 0.9558 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1599, allocations: 23.92 kB / 0.9558 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.16, allocations: 24 kB / 0.9558 GB, free: 15.36 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.0001729/0.1601, allocations: 208.4 kB / 0.956 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1602, allocations: 83.58 kB / 0.9561 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.1603, allocations: 74.25 kB / 0.9561 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1603, allocations: 8 kB / 0.9562 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1603, allocations: 3.984 kB / 0.9562 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002974/0.1606, allocations: 0.5073 MB / 0.9567 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1618, allocations: 1.245 MB / 0.9579 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1618, allocations: 7.938 kB / 0.9579 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.162, allocations: 99.83 kB / 0.958 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.162, allocations: 11.94 kB / 0.958 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1621, allocations: 8 kB / 0.958 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1621, allocations: 12.48 kB / 0.958 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1621, allocations: 11.94 kB / 0.958 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.1626, allocations: 0.6179 MB / 0.9586 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1627, allocations: 107.5 kB / 0.9587 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.1628, allocations: 12 kB / 0.9587 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.163, allocations: 19.98 kB / 0.9588 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.163, allocations: 39.83 kB / 0.9588 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.1631, allocations: 19.98 kB / 0.9588 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001913/0.1632, allocations: 322.8 kB / 0.9591 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1632, allocations: 4 kB / 0.9591 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005066/0.1638, allocations: 199.9 kB / 0.9593 GB, free: 11.48 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.0003298/0.1641, allocations: 170.4 kB / 0.9595 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.1644, allocations: 264.4 kB / 0.9597 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1644, allocations: 5.562 kB / 0.9597 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1646, allocations: 128.7 kB / 0.9599 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.1654, allocations: 331.9 kB / 0.9602 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1676, allocations: 1.492 MB / 0.9616 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.1678, allocations: 206.4 kB / 0.9618 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003712/0.1682, allocations: 97.42 kB / 0.9619 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.1687, allocations: 338 kB / 0.9622 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/0.1687, allocations: 0 / 0.9622 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of Templates: time 0.01727/0.1859, allocations: 13.09 MB / 0.975 GB, free: 11.63 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.649264818057418]