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.000945/0.000945, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009931/0.0009931, allocations: 161 kB / 24.16 MB, free: 336 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.9582/0.9582, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.827/1.827, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.312e-06/1.312e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.871e-05, allocations: 6.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1331/0.1332, allocations: 148.8 MB / 0.9054 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00465/0.1378, allocations: 3.23 MB / 0.9085 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.1383, allocations: 43.62 kB / 0.9086 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.1389, allocations: 230.3 kB / 0.9088 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.14, allocations: 0.7419 MB / 0.9095 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1411, allocations: 0.7112 MB / 0.9102 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1428, allocations: 1.48 MB / 0.9117 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.1435, allocations: 0.5134 MB / 0.9122 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1449, allocations: 0.8688 MB / 0.913 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.1455, allocations: 410.7 kB / 0.9134 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.1456, allocations: 56 kB / 0.9134 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.1463, allocations: 0.5066 MB / 0.9139 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.1465, allocations: 303.1 kB / 0.9142 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.1468, allocations: 259.4 kB / 0.9145 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1478, allocations: 0.8564 MB / 0.9153 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1478, allocations: 0 / 0.9153 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1478, allocations: 0 / 0.9153 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.1479, allocations: 0 / 0.9153 GB, free: 7.234 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001095/0.149, allocations: 0.9503 MB / 0.9162 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.149, allocations: 11.97 kB / 0.9163 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.1496, allocations: 204.5 kB / 0.9165 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.1502, allocations: 451.9 kB / 0.9169 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.1502, allocations: 49.44 kB / 0.9169 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.1503, allocations: 56 kB / 0.917 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.1509, allocations: 0.6075 MB / 0.9176 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1509, allocations: 7.938 kB / 0.9176 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.151, allocations: 28 kB / 0.9176 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.151, allocations: 24.94 kB / 0.9176 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.1513, allocations: 211.4 kB / 0.9178 GB, free: 4.473 MB / 0.8698 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.002483/0.1538, allocations: 3.657 MB / 0.9214 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.154, allocations: 250 kB / 0.9216 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.1541, allocations: 52.03 kB / 0.9217 GB, free: 308 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.1541, allocations: 19.98 kB / 0.9217 GB, free: 288 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1542, allocations: 34.56 kB / 0.9217 GB, free: 244 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1542, allocations: 0 / 0.9217 GB, free: 244 kB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0002937/0.1545, allocations: 125.4 kB / 0.9219 GB, free: 112 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1545, allocations: 128.5 kB / 0.922 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.1549, allocations: 0.495 MB / 0.9225 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1549, allocations: 25.7 kB / 0.9225 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1551, allocations: 384.7 kB / 0.9229 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1552, allocations: 35.78 kB / 0.9229 GB, free: 15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.1553, allocations: 86.2 kB / 0.923 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1554, allocations: 362.7 kB / 0.9233 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.1554, allocations: 35.5 kB / 0.9234 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1556, allocations: 401.4 kB / 0.9237 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1559, allocations: 335.7 kB / 0.9241 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1559, allocations: 4 kB / 0.9241 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003522/0.1562, allocations: 292.5 kB / 0.9243 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1563, allocations: 8 kB / 0.9244 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1563, allocations: 8 kB / 0.9244 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1563, allocations: 11.94 kB / 0.9244 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1565, allocations: 92.39 kB / 0.9245 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1565, allocations: 15.98 kB / 0.9245 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.1568, allocations: 71.59 kB / 0.9245 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1568, allocations: 23.94 kB / 0.9246 GB, free: 13.01 MB / 0.8855 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.0001207/0.1569, allocations: 140.5 kB / 0.9247 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.651e-05/0.157, allocations: 39.89 kB / 0.9247 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1571, allocations: 48.12 kB / 0.9248 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1571, allocations: 7.938 kB / 0.9248 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1571, allocations: 4 kB / 0.9248 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1571, allocations: 0 / 0.9248 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.1579, allocations: 0.8234 MB / 0.9256 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1579, allocations: 7.938 kB / 0.9256 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1579, allocations: 15.98 kB / 0.9256 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1579, allocations: 4.281 kB / 0.9256 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1579, allocations: 4 kB / 0.9256 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1579, allocations: 4 kB / 0.9256 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1579, allocations: 7.938 kB / 0.9256 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1581, allocations: 184.1 kB / 0.9258 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.1582, allocations: 71.98 kB / 0.9259 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1582, allocations: 4 kB / 0.9259 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1584, allocations: 8 kB / 0.9259 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.1584, allocations: 15.92 kB / 0.9259 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1584, allocations: 8 kB / 0.9259 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001994/0.1586, allocations: 212.4 kB / 0.9261 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1586, allocations: 0 / 0.9261 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004558/0.159, allocations: 179.5 kB / 0.9263 GB, free: 11.11 MB / 0.8855 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.0003122/0.1594, allocations: 168.8 kB / 0.9265 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.1596, allocations: 142 kB / 0.9266 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.1596, allocations: 8.5 kB / 0.9266 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.1596, allocations: 33.36 kB / 0.9266 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.1602, allocations: 202.8 kB / 0.9268 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1616, allocations: 0.9864 MB / 0.9278 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1617, allocations: 165.2 kB / 0.9279 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000219/0.1619, allocations: 68.73 kB / 0.928 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.1622, allocations: 195.1 kB / 0.9282 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/0.1622, allocations: 0 / 0.9282 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of Templates: time 0.01286/0.1751, allocations: 8.133 MB / 0.9361 GB, free: 1.18 MB / 0.8855 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.224366342648864]