Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001266/0.001266, allocations: 81.86 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.001363/0.001363, 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 0.9366/0.9366, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.748/1.748, allocations: 359 MB / 0.6055 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.566e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1309/0.131, allocations: 146.7 MB / 0.9308 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1364, allocations: 3.159 MB / 0.9339 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.1373, allocations: 39.69 kB / 0.9339 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.1381, allocations: 230.3 kB / 0.9341 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1395, allocations: 0.7497 MB / 0.9349 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.141, allocations: 0.7091 MB / 0.9356 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1427, allocations: 1.512 MB / 0.937 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.1434, allocations: 0.4991 MB / 0.9375 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.145, allocations: 0.8848 MB / 0.9384 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.1456, allocations: 442.6 kB / 0.9388 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.1456, allocations: 52 kB / 0.9389 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.1464, allocations: 0.5144 MB / 0.9394 GB, free: 232 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.1467, allocations: 299.1 kB / 0.9397 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1469, allocations: 259.4 kB / 0.9399 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1481, allocations: 0.8642 MB / 0.9407 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1481, allocations: 0 / 0.9407 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1481, allocations: 0 / 0.9407 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1481, allocations: 0 / 0.9407 GB, free: 14.81 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001054/0.1492, allocations: 1.094 MB / 0.9418 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1492, allocations: 12.03 kB / 0.9418 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.1498, allocations: 220.2 kB / 0.942 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.1503, allocations: 0.5063 MB / 0.9425 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1504, allocations: 45.44 kB / 0.9426 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.1504, allocations: 60 kB / 0.9426 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.151, allocations: 0.677 MB / 0.9433 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1511, allocations: 7.938 kB / 0.9433 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.1511, allocations: 24 kB / 0.9433 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.1511, allocations: 28.98 kB / 0.9434 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.1514, allocations: 194.4 kB / 0.9435 GB, free: 11.73 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.002831/0.1543, allocations: 5.345 MB / 0.9488 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.1544, allocations: 108.5 kB / 0.9489 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.1544, allocations: 58.7 kB / 0.9489 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-05/0.1545, allocations: 23.98 kB / 0.9489 GB, free: 5.922 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1545, allocations: 37.33 kB / 0.949 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 3.095e-06/0.1545, allocations: 0 / 0.949 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0003052/0.1548, allocations: 145.1 kB / 0.9491 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1549, allocations: 132.8 kB / 0.9492 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.1553, allocations: 0.5684 MB / 0.9498 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1553, allocations: 29.7 kB / 0.9498 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.1556, allocations: 0.4906 MB / 0.9503 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1556, allocations: 35.72 kB / 0.9503 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.1557, allocations: 95.61 kB / 0.9504 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1558, allocations: 0.5351 MB / 0.951 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.1559, allocations: 28.72 kB / 0.951 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.1562, allocations: 0.4903 MB / 0.9515 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.1564, allocations: 436.6 kB / 0.9519 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.1564, allocations: 4 kB / 0.9519 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003397/0.1568, allocations: 329.5 kB / 0.9522 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1568, allocations: 12 kB / 0.9522 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1568, allocations: 8 kB / 0.9522 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1568, allocations: 11.94 kB / 0.9522 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.157, allocations: 87.83 kB / 0.9523 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.157, allocations: 15.94 kB / 0.9523 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1572, allocations: 71.7 kB / 0.9524 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1573, allocations: 20 kB / 0.9524 GB, free: 1.93 MB / 0.9011 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.0001267/0.1574, allocations: 188.4 kB / 0.9526 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.1575, allocations: 55.67 kB / 0.9526 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1575, allocations: 52.12 kB / 0.9527 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1575, allocations: 3.938 kB / 0.9527 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1575, allocations: 0 / 0.9527 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1575, allocations: 4 kB / 0.9527 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.1583, allocations: 1.062 MB / 0.9537 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1583, allocations: 4 kB / 0.9537 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.1585, allocations: 15.94 kB / 0.9538 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1585, allocations: 4 kB / 0.9538 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1585, allocations: 4.469 kB / 0.9538 GB, free: 468 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1585, allocations: 4 kB / 0.9538 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1585, allocations: 4 kB / 0.9538 GB, free: 460 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1587, allocations: 233.7 kB / 0.954 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.1588, allocations: 67.59 kB / 0.9541 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1588, allocations: 4 kB / 0.9541 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1589, allocations: 8.062 kB / 0.9541 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.1589, allocations: 23.91 kB / 0.9541 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1589, allocations: 7.938 kB / 0.9541 GB, free: 56 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002078/0.1591, allocations: 330.7 kB / 0.9544 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1591, allocations: 0 / 0.9544 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004395/0.1596, allocations: 187.5 kB / 0.9546 GB, free: 15.55 MB / 0.9167 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.0003484/0.1599, allocations: 171.1 kB / 0.9548 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1601, allocations: 147.8 kB / 0.9549 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1601, allocations: 0 / 0.9549 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.1601, allocations: 45.09 kB / 0.9549 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.1607, allocations: 201.1 kB / 0.9551 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.162, allocations: 0.9773 MB / 0.9561 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.1621, allocations: 165.2 kB / 0.9562 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.1623, allocations: 68.53 kB / 0.9563 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.1626, allocations: 230 kB / 0.9565 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/0.1626, allocations: 4 kB / 0.9565 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of Templates: time 0.01141/0.174, allocations: 8.156 MB / 0.9645 GB, free: 5.551 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.212074494920671]