Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.000949/0.000949, allocations: 80.39 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.0009997/0.0009997, allocations: 167.9 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.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.914/1.914, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.055e-05, allocations: 3.469 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1271/0.1271, allocations: 146.7 MB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.1314, allocations: 3.159 MB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.1318, allocations: 39.69 kB / 0.9592 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.1325, allocations: 230.3 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1337, allocations: 0.7457 MB / 0.9601 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1348, allocations: 0.7091 MB / 0.9608 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1361, allocations: 1.492 MB / 0.9623 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.1366, allocations: 0.5147 MB / 0.9628 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1379, allocations: 0.8682 MB / 0.9636 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.1383, allocations: 426.7 kB / 0.9641 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.1384, allocations: 52 kB / 0.9641 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.1391, allocations: 0.5221 MB / 0.9646 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1393, allocations: 299.1 kB / 0.9649 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.1395, allocations: 255.3 kB / 0.9651 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009076/0.1404, allocations: 0.8526 MB / 0.966 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1404, allocations: 0 / 0.966 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1404, allocations: 0 / 0.966 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.1404, allocations: 0 / 0.966 GB, free: 4.062 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001017/0.1414, allocations: 1.102 MB / 0.9671 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1415, allocations: 12.03 kB / 0.9671 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.142, allocations: 228.1 kB / 0.9673 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.1425, allocations: 0.4947 MB / 0.9678 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.1425, allocations: 49.44 kB / 0.9678 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1426, allocations: 56 kB / 0.9679 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.1432, allocations: 0.6803 MB / 0.9685 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1432, allocations: 7.938 kB / 0.9685 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.1432, allocations: 28 kB / 0.9686 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.1432, allocations: 25 kB / 0.9686 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1435, allocations: 194.4 kB / 0.9688 GB, free: 0.9727 MB / 0.9167 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.002615/0.1461, allocations: 5.349 MB / 0.974 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.1462, allocations: 108.3 kB / 0.9741 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.1462, allocations: 50.92 kB / 0.9741 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.1463, allocations: 23.92 kB / 0.9742 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1463, allocations: 41.33 kB / 0.9742 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.1463, allocations: 8 kB / 0.9742 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=9): time 0.000306/0.1466, allocations: 137.2 kB / 0.9743 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1467, allocations: 136.5 kB / 0.9745 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1471, allocations: 0.5723 MB / 0.975 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1471, allocations: 29.7 kB / 0.9751 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1474, allocations: 490.5 kB / 0.9755 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1474, allocations: 39.98 kB / 0.9756 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.1475, allocations: 99.59 kB / 0.9757 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1476, allocations: 0.5351 MB / 0.9762 GB, free: 9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.1477, allocations: 24.73 kB / 0.9762 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1479, allocations: 0.4978 MB / 0.9767 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.1482, allocations: 420.6 kB / 0.9771 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1482, allocations: 4 kB / 0.9771 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003567/0.1485, allocations: 336.8 kB / 0.9774 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1486, allocations: 11.98 kB / 0.9774 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1486, allocations: 8 kB / 0.9774 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1486, allocations: 11.94 kB / 0.9775 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1487, allocations: 88.56 kB / 0.9775 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1488, allocations: 23.92 kB / 0.9776 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.149, allocations: 59.66 kB / 0.9776 GB, free: 7.195 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.149, allocations: 23.98 kB / 0.9776 GB, free: 7.172 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (45): * Single equations (assignments): 45 * 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.000126/0.1491, allocations: 192.3 kB / 0.9778 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.1492, allocations: 55.67 kB / 0.9779 GB, free: 6.918 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1493, allocations: 48.12 kB / 0.9779 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1493, allocations: 7.938 kB / 0.9779 GB, free: 6.863 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1493, allocations: 4 kB / 0.9779 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1493, allocations: 0 / 0.9779 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.15, allocations: 1.058 MB / 0.979 GB, free: 5.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.15, allocations: 4 kB / 0.979 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.15, allocations: 20.2 kB / 0.979 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.15, allocations: 8 kB / 0.979 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.15, allocations: 0 / 0.979 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.15, allocations: 4 kB / 0.979 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.15, allocations: 7.938 kB / 0.979 GB, free: 5.684 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.1502, allocations: 225.4 kB / 0.9792 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.1503, allocations: 67.58 kB / 0.9793 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1503, allocations: 8 kB / 0.9793 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.1504, allocations: 7.984 kB / 0.9793 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.1504, allocations: 24.33 kB / 0.9793 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1504, allocations: 8 kB / 0.9793 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001992/0.1506, allocations: 330.7 kB / 0.9797 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1506, allocations: 0 / 0.9797 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000396/0.151, allocations: 179.5 kB / 0.9798 GB, free: 4.797 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (9): * Single equations (assignments): 9 * 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.0003404/0.1514, allocations: 193.9 kB / 0.98 GB, free: 4.613 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1516, allocations: 144.5 kB / 0.9801 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1516, allocations: 0.625 kB / 0.9801 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.1516, allocations: 35.61 kB / 0.9802 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1522, allocations: 200.7 kB / 0.9804 GB, free: 4.242 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1534, allocations: 0.9814 MB / 0.9813 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.1535, allocations: 161.2 kB / 0.9815 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.1537, allocations: 76.72 kB / 0.9816 GB, free: 2.938 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.1539, allocations: 230 kB / 0.9818 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of SimCode: time 1.272e-06/0.1539, allocations: 0 / 0.9818 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of Templates: time 0.01116/0.1651, allocations: 8.229 MB / 0.9898 GB, free: 10.75 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.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.337508072145283]