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.001101/0.001101, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001735/0.001735, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9842/0.9842, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.538/2.538, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.526e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1416/0.1416, allocations: 146.7 MB / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004935/0.1466, allocations: 3.143 MB / 1.036 GB, free: 3.336 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.1475, allocations: 43.69 kB / 1.036 GB, free: 3.293 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.1483, allocations: 238.2 kB / 1.036 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1499, allocations: 0.734 MB / 1.037 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.1516, allocations: 0.7052 MB / 1.038 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1536, allocations: 1.482 MB / 1.039 GB, free: 132 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.1544, allocations: 488.8 kB / 1.04 GB, free: 15.64 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.1565, allocations: 0.8609 MB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.1572, allocations: 434.6 kB / 1.041 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1573, allocations: 52 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009532/0.1583, allocations: 0.5144 MB / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.1586, allocations: 299.1 kB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.1589, allocations: 255.4 kB / 1.042 GB, free: 13.28 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.1605, allocations: 0.8642 MB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1605, allocations: 0 / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1605, allocations: 0 / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.1605, allocations: 4 kB / 1.043 GB, free: 12.41 MB / 1.01 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.001287/0.1618, allocations: 1.082 MB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1618, allocations: 12.62 kB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/0.1624, allocations: 232.1 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.1634, allocations: 498.6 kB / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.1635, allocations: 49.44 kB / 1.045 GB, free: 10.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.1635, allocations: 59.98 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.1643, allocations: 0.6801 MB / 1.045 GB, free: 9.59 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1643, allocations: 7.984 kB / 1.045 GB, free: 9.582 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1643, allocations: 32 kB / 1.045 GB, free: 9.551 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.1644, allocations: 24.94 kB / 1.045 GB, free: 9.527 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1646, allocations: 194.4 kB / 1.046 GB, free: 9.336 MB / 1.01 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.0031/0.1677, allocations: 5.349 MB / 1.051 GB, free: 3.781 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1679, allocations: 112.3 kB / 1.051 GB, free: 3.621 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.168, allocations: 54.86 kB / 1.051 GB, free: 3.551 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.1681, allocations: 19.98 kB / 1.051 GB, free: 3.531 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1681, allocations: 41.39 kB / 1.051 GB, free: 3.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=9): time 3.937e-06/0.1681, allocations: 0 / 1.051 GB, free: 3.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=9): time 0.0004476/0.1686, allocations: 145.1 kB / 1.051 GB, free: 3.332 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1686, allocations: 128.5 kB / 1.051 GB, free: 3.176 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.1692, allocations: 0.5645 MB / 1.052 GB, free: 2.594 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1692, allocations: 29.95 kB / 1.052 GB, free: 2.559 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.1695, allocations: 494.5 kB / 1.052 GB, free: 2.066 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1695, allocations: 39.69 kB / 1.052 GB, free: 2.027 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1696, allocations: 99.59 kB / 1.053 GB, free: 1.922 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1698, allocations: 0.5351 MB / 1.053 GB, free: 1.375 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.1699, allocations: 28.72 kB / 1.053 GB, free: 1.348 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.1702, allocations: 498 kB / 1.054 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.1705, allocations: 424.5 kB / 1.054 GB, free: 116 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.1705, allocations: 4 kB / 1.054 GB, free: 112 kB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.4625/0.633, allocations: 323 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.6331, allocations: 10.31 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6331, allocations: 11.42 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.6331, allocations: 15 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.6333, allocations: 87.14 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6333, allocations: 18.36 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.6337, allocations: 74.09 kB / 1.054 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.6337, allocations: 20.88 kB / 1.055 GB, free: 69.1 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.0001731/0.6339, allocations: 184.8 kB / 1.055 GB, free: 68.94 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.6339, allocations: 59.16 kB / 1.055 GB, free: 68.94 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.085e-05/0.634, allocations: 50.75 kB / 1.055 GB, free: 68.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.634, allocations: 2.844 kB / 1.055 GB, free: 68.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.634, allocations: 0 / 1.055 GB, free: 68.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.634, allocations: 8.656 kB / 1.055 GB, free: 68.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.6348, allocations: 1.052 MB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6348, allocations: 5.969 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.6349, allocations: 23.53 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6349, allocations: 3.188 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6349, allocations: 4.469 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6349, allocations: 6.25 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6349, allocations: 8.312 kB / 1.056 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.635, allocations: 221.9 kB / 1.056 GB, free: 67.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6351, allocations: 76.64 kB / 1.056 GB, free: 67.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.6352, allocations: 9.391 kB / 1.056 GB, free: 67.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.6353, allocations: 7.812 kB / 1.056 GB, free: 67.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.6353, allocations: 14.69 kB / 1.056 GB, free: 67.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.6353, allocations: 5.469 kB / 1.056 GB, free: 67.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002124/0.6355, allocations: 335.6 kB / 1.057 GB, free: 67.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6355, allocations: 0 / 1.057 GB, free: 67.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004975/0.636, allocations: 183.6 kB / 1.057 GB, free: 67.73 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.0003497/0.6364, allocations: 179.9 kB / 1.057 GB, free: 67.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.6366, allocations: 151.1 kB / 1.057 GB, free: 67.64 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6366, allocations: 3.188 kB / 1.057 GB, free: 67.64 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.6366, allocations: 32.98 kB / 1.057 GB, free: 67.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.6372, allocations: 198.3 kB / 1.057 GB, free: 67.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.6386, allocations: 0.9728 MB / 1.058 GB, free: 67.05 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.6387, allocations: 160.4 kB / 1.058 GB, free: 66.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.639, allocations: 69.42 kB / 1.058 GB, free: 66.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.6393, allocations: 228 kB / 1.059 GB, free: 66.91 MB / 1.01 GB Notification: Performance of SimCode: time 1.793e-06/0.6393, allocations: 1 kB / 1.059 GB, free: 66.91 MB / 1.01 GB Notification: Performance of Templates: time 0.01378/0.653, allocations: 8.032 MB / 1.066 GB, free: 66.46 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.409135417081416]