Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007923/0.0007923, allocations: 82.64 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.0009292/0.0009292, allocations: 181 kB / 24.09 MB, free: 420 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.841/1.841, allocations: 377.9 MB / 0.6239 GB, free: 8.426 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0.7656 kB / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.415e-05, allocations: 2.312 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1274/0.1274, allocations: 146.9 MB / 0.9554 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.1312, allocations: 3.217 MB / 0.9586 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003789/0.1316, allocations: 43.69 kB / 0.9586 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.1323, allocations: 254.1 kB / 0.9589 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1334, allocations: 0.8818 MB / 0.9597 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.1341, allocations: 0.6976 MB / 0.9604 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1355, allocations: 2.023 MB / 0.9624 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.1361, allocations: 0.6374 MB / 0.963 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.1375, allocations: 1.131 MB / 0.9641 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.138, allocations: 0.592 MB / 0.9647 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.49e-05/0.1381, allocations: 76 kB / 0.9648 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.1385, allocations: 379.1 kB / 0.9651 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.1388, allocations: 426.8 kB / 0.9655 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.139, allocations: 351.2 kB / 0.9659 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008351/0.1399, allocations: 0.9654 MB / 0.9668 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1399, allocations: 0 / 0.9668 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1399, allocations: 0 / 0.9668 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1399, allocations: 0 / 0.9668 GB, free: 1.289 MB / 0.8698 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.001109/0.141, allocations: 1.255 MB / 0.968 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.141, allocations: 15.97 kB / 0.9681 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/0.1416, allocations: 279.9 kB / 0.9683 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.1422, allocations: 0.6137 MB / 0.9689 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1423, allocations: 62.12 kB / 0.969 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.1423, allocations: 76 kB / 0.9691 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.1429, allocations: 0.8264 MB / 0.9699 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1429, allocations: 11.94 kB / 0.9699 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.143, allocations: 35.94 kB / 0.9699 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.143, allocations: 33.3 kB / 0.9699 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.1433, allocations: 241.9 kB / 0.9702 GB, free: 13.64 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.002346/0.1456, allocations: 4.638 MB / 0.9747 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1459, allocations: 284.8 kB / 0.975 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.146, allocations: 118.4 kB / 0.9751 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.1461, allocations: 34.42 kB / 0.9751 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1461, allocations: 49.66 kB / 0.9752 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.1461, allocations: 0 / 0.9752 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001013/0.1471, allocations: 0.7168 MB / 0.9759 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1472, allocations: 110.8 kB / 0.976 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1475, allocations: 0.5375 MB / 0.9765 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1475, allocations: 41.7 kB / 0.9765 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1478, allocations: 494.6 kB / 0.977 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.1478, allocations: 166.6 kB / 0.9772 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.148, allocations: 127.9 kB / 0.9773 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.1482, allocations: 0.5585 MB / 0.9778 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.1483, allocations: 57.25 kB / 0.9779 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.1485, allocations: 489.5 kB / 0.9784 GB, free: 4.777 MB / 0.8855 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.0004897/0.149, allocations: 0.5632 MB / 0.9789 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.149, allocations: 4 kB / 0.9789 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004036/0.1494, allocations: 436.5 kB / 0.9793 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1495, allocations: 12.12 kB / 0.9793 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1495, allocations: 8 kB / 0.9793 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1495, allocations: 8 kB / 0.9794 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1497, allocations: 123.8 kB / 0.9795 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1497, allocations: 19.92 kB / 0.9795 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1499, allocations: 16 kB / 0.9795 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.15, allocations: 28 kB / 0.9795 GB, free: 3.449 MB / 0.8855 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.0001507/0.1501, allocations: 200.3 kB / 0.9797 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.1502, allocations: 79.58 kB / 0.9798 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/0.1503, allocations: 86.23 kB / 0.9799 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1503, allocations: 4 kB / 0.9799 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1503, allocations: 0 / 0.9799 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000291/0.1506, allocations: 0.5113 MB / 0.9804 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1516, allocations: 1.242 MB / 0.9816 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1516, allocations: 7.938 kB / 0.9816 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1518, allocations: 95.89 kB / 0.9817 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1518, allocations: 11.94 kB / 0.9817 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1519, allocations: 20.05 kB / 0.9817 GB, free: 1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1519, allocations: 11.94 kB / 0.9817 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1519, allocations: 4 kB / 0.9817 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.1523, allocations: 0.6228 MB / 0.9823 GB, free: 276 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1525, allocations: 107.5 kB / 0.9824 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.1525, allocations: 11.98 kB / 0.9825 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1527, allocations: 16 kB / 0.9825 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1527, allocations: 39.83 kB / 0.9825 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1527, allocations: 19.98 kB / 0.9825 GB, free: 80 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1529, allocations: 326.7 kB / 0.9828 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1529, allocations: 0 / 0.9828 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004053/0.1533, allocations: 203.9 kB / 0.983 GB, free: 15.56 MB / 0.9011 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.0003068/0.1536, allocations: 169.4 kB / 0.9832 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1539, allocations: 268.8 kB / 0.9835 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1539, allocations: 3.938 kB / 0.9835 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.154, allocations: 126.4 kB / 0.9836 GB, free: 15 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.1548, allocations: 334 kB / 0.9839 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1566, allocations: 1.473 MB / 0.9853 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1567, allocations: 210.4 kB / 0.9855 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.157, allocations: 101.4 kB / 0.9856 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.1574, allocations: 337.9 kB / 0.986 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of SimCode: time 8.61e-07/0.1574, allocations: 4 kB / 0.986 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of Templates: time 0.01497/0.1724, allocations: 12.9 MB / 0.9986 GB, free: 15.91 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.399386962875724]