Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001439/0.001439, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001165/0.001165, allocations: 169 kB / 24.06 MB, free: 448 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.203/2.203, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 1.094 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.64e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1284/0.1284, allocations: 146.7 MB / 1.023 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.1326, allocations: 3.151 MB / 1.026 GB, free: 15.62 MB / 0.9949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.1331, allocations: 39.69 kB / 1.026 GB, free: 15.58 MB / 0.9949 GB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.1337, allocations: 234.3 kB / 1.026 GB, free: 15.35 MB / 0.9949 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.1349, allocations: 0.7419 MB / 1.027 GB, free: 14.6 MB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.136, allocations: 0.7013 MB / 1.027 GB, free: 13.9 MB / 0.9949 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.1374, allocations: 1.477 MB / 1.029 GB, free: 12.41 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.138, allocations: 488.7 kB / 1.029 GB, free: 11.93 MB / 0.9949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1393, allocations: 0.8702 MB / 1.03 GB, free: 11.09 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1397, allocations: 434.7 kB / 1.031 GB, free: 10.67 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.1398, allocations: 52 kB / 1.031 GB, free: 10.62 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.1404, allocations: 0.5144 MB / 1.031 GB, free: 10.1 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1406, allocations: 295.2 kB / 1.031 GB, free: 9.812 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.1408, allocations: 267.3 kB / 1.032 GB, free: 9.551 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.0009279/0.1418, allocations: 0.8526 MB / 1.033 GB, free: 8.695 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1418, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1418, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.1418, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.9949 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.0009722/0.1427, allocations: 1.102 MB / 1.034 GB, free: 7.555 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1428, allocations: 12.03 kB / 1.034 GB, free: 7.543 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.1433, allocations: 208.3 kB / 1.034 GB, free: 7.34 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.1438, allocations: 0.4947 MB / 1.034 GB, free: 6.816 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.1438, allocations: 53.44 kB / 1.034 GB, free: 6.762 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.1439, allocations: 60 kB / 1.034 GB, free: 6.703 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.1444, allocations: 0.6809 MB / 1.035 GB, free: 5.867 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1444, allocations: 3.938 kB / 1.035 GB, free: 5.863 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.1445, allocations: 24 kB / 1.035 GB, free: 5.84 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.1445, allocations: 25 kB / 1.035 GB, free: 5.816 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1447, allocations: 202.3 kB / 1.035 GB, free: 5.617 MB / 0.9949 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.002404/0.1471, allocations: 5.342 MB / 1.041 GB, free: 72 kB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 8.73e-05/0.1472, allocations: 116.2 kB / 1.041 GB, free: 15.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.1472, allocations: 50.91 kB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.1473, allocations: 19.98 kB / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1473, allocations: 41.33 kB / 1.041 GB, free: 15.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1473, allocations: 0 / 1.041 GB, free: 15.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=9): time 0.0002826/0.1476, allocations: 145.6 kB / 1.041 GB, free: 15.62 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1477, allocations: 144.4 kB / 1.041 GB, free: 15.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.148, allocations: 0.5645 MB / 1.042 GB, free: 14.87 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.148, allocations: 25.7 kB / 1.042 GB, free: 14.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1483, allocations: 494.5 kB / 1.042 GB, free: 14.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1483, allocations: 35.69 kB / 1.042 GB, free: 14.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.1484, allocations: 99.59 kB / 1.042 GB, free: 14.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1485, allocations: 0.5351 MB / 1.043 GB, free: 13.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1486, allocations: 28.72 kB / 1.043 GB, free: 13.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1489, allocations: 0.4957 MB / 1.043 GB, free: 12.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1492, allocations: 420.6 kB / 1.044 GB, free: 12.39 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1492, allocations: 0 / 1.044 GB, free: 12.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003292/0.1495, allocations: 337.3 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1495, allocations: 8 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1495, allocations: 8 kB / 1.044 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1495, allocations: 11.94 kB / 1.044 GB, free: 12.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1497, allocations: 91.83 kB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.1497, allocations: 15.94 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1499, allocations: 79.75 kB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.15, allocations: 16 kB / 1.044 GB, free: 11.83 MB / 1.01 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.0001189/0.1501, allocations: 192.4 kB / 1.044 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.1502, allocations: 51.67 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1502, allocations: 48.03 kB / 1.044 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1502, allocations: 11.92 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1502, allocations: 0 / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1502, allocations: 4 kB / 1.044 GB, free: 11.51 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.1509, allocations: 1.066 MB / 1.046 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1509, allocations: 0 / 1.046 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.151, allocations: 16 kB / 1.046 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.151, allocations: 0 / 1.046 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.151, allocations: 7.938 kB / 1.046 GB, free: 10.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.151, allocations: 4.125 kB / 1.046 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.151, allocations: 4.281 kB / 1.046 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1511, allocations: 233.4 kB / 1.046 GB, free: 10.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.1512, allocations: 63.64 kB / 1.046 GB, free: 9.992 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1512, allocations: 4 kB / 1.046 GB, free: 9.988 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1513, allocations: 11.98 kB / 1.046 GB, free: 9.977 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1514, allocations: 23.81 kB / 1.046 GB, free: 9.953 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1514, allocations: 7.984 kB / 1.046 GB, free: 9.945 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001915/0.1516, allocations: 330.7 kB / 1.046 GB, free: 9.625 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1516, allocations: 4 kB / 1.046 GB, free: 9.621 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003831/0.1519, allocations: 183.5 kB / 1.046 GB, free: 9.441 MB / 1.01 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.0002872/0.1522, allocations: 168.9 kB / 1.047 GB, free: 9.277 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1524, allocations: 153 kB / 1.047 GB, free: 9.125 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1524, allocations: 4 kB / 1.047 GB, free: 9.121 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.1525, allocations: 28.17 kB / 1.047 GB, free: 9.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.153, allocations: 204.6 kB / 1.047 GB, free: 8.898 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1541, allocations: 0.9812 MB / 1.048 GB, free: 7.848 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.841e-05/0.1542, allocations: 165.2 kB / 1.048 GB, free: 7.664 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.1544, allocations: 68.7 kB / 1.048 GB, free: 7.598 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.1547, allocations: 234 kB / 1.048 GB, free: 7.367 MB / 1.01 GB Notification: Performance of SimCode: time 6.81e-07/0.1547, allocations: 0 / 1.048 GB, free: 7.367 MB / 1.01 GB Notification: Performance of Templates: time 0.3868/0.5415, allocations: 8.117 MB / 1.056 GB, free: 80.63 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.258062788750976]