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.0009803/0.0009803, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001044/0.001044, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.872/1.872, allocations: 359 MB / 0.6052 GB, free: 11.04 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.823e-06/1.823e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.64e-05, allocations: 5.531 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1828/0.1828, allocations: 149.4 MB / 0.9331 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00511/0.1879, allocations: 3.179 MB / 0.9362 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.1886, allocations: 43.69 kB / 0.9362 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.1894, allocations: 238.2 kB / 0.9364 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1907, allocations: 0.7419 MB / 0.9372 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1921, allocations: 0.7268 MB / 0.9379 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1936, allocations: 1.504 MB / 0.9393 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.1943, allocations: 0.507 MB / 0.9398 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.1951, allocations: 0.7286 MB / 0.9405 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.1959, allocations: 486.5 kB / 0.941 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.196, allocations: 56 kB / 0.9411 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.1969, allocations: 0.6 MB / 0.9416 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.1971, allocations: 307.1 kB / 0.9419 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.1973, allocations: 255.4 kB / 0.9422 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1983, allocations: 0.8954 MB / 0.9431 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1983, allocations: 0 / 0.9431 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1983, allocations: 0 / 0.9431 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.1983, allocations: 0 / 0.9431 GB, free: 11.19 MB / 0.8542 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.001097/0.1994, allocations: 1.098 MB / 0.9441 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1995, allocations: 8.031 kB / 0.9441 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.2001, allocations: 232.2 kB / 0.9444 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.2007, allocations: 0.5157 MB / 0.9449 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.2008, allocations: 53.19 kB / 0.9449 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.2008, allocations: 64 kB / 0.945 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.2016, allocations: 0.7078 MB / 0.9457 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2016, allocations: 7.938 kB / 0.9457 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.2016, allocations: 28 kB / 0.9457 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.2017, allocations: 24.98 kB / 0.9457 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.202, allocations: 229.4 kB / 0.9459 GB, free: 8.016 MB / 0.8542 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.002756/0.2048, allocations: 5.326 MB / 0.9511 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2049, allocations: 116.3 kB / 0.9513 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.2049, allocations: 58.86 kB / 0.9513 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.205, allocations: 23.98 kB / 0.9513 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2051, allocations: 33.39 kB / 0.9514 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2051, allocations: 0 / 0.9514 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0003438/0.2054, allocations: 157.1 kB / 0.9515 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.2056, allocations: 128.5 kB / 0.9516 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.2061, allocations: 0.5807 MB / 0.9522 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2061, allocations: 33.7 kB / 0.9522 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.2063, allocations: 486.5 kB / 0.9527 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2063, allocations: 43.69 kB / 0.9527 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.2064, allocations: 103.6 kB / 0.9528 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2066, allocations: 0.5313 MB / 0.9534 GB, free: 52 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.2066, allocations: 36.72 kB / 0.9534 GB, free: 16 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.2069, allocations: 0.5307 MB / 0.9539 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.2072, allocations: 428.7 kB / 0.9543 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2072, allocations: 4 kB / 0.9543 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000396/0.2076, allocations: 357.4 kB / 0.9547 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2076, allocations: 16.02 kB / 0.9547 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2076, allocations: 8 kB / 0.9547 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.2077, allocations: 15.94 kB / 0.9547 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2078, allocations: 87.84 kB / 0.9548 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.2078, allocations: 19.92 kB / 0.9548 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.2081, allocations: 63.64 kB / 0.9549 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.2081, allocations: 28 kB / 0.9549 GB, free: 14.13 MB / 0.8698 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 (46): * Single equations (assignments): 46 * 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.2082, allocations: 188.4 kB / 0.9551 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.2083, allocations: 59.62 kB / 0.9551 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.2084, allocations: 48.12 kB / 0.9552 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2084, allocations: 3.938 kB / 0.9552 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2084, allocations: 4 kB / 0.9552 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2084, allocations: 0 / 0.9552 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.2092, allocations: 1.194 MB / 0.9563 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2092, allocations: 0 / 0.9563 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.2092, allocations: 19.94 kB / 0.9564 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2092, allocations: 4 kB / 0.9564 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2092, allocations: 4 kB / 0.9564 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2092, allocations: 3.984 kB / 0.9564 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2092, allocations: 4 kB / 0.9564 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.2094, allocations: 245.4 kB / 0.9566 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.2095, allocations: 67.64 kB / 0.9567 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2095, allocations: 480 / 0.9567 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.2096, allocations: 15.98 kB / 0.9567 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2097, allocations: 15.92 kB / 0.9567 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2097, allocations: 8.062 kB / 0.9567 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000263/0.2099, allocations: 358.8 kB / 0.9571 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.2099, allocations: 0 / 0.9571 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000391/0.2103, allocations: 179.5 kB / 0.9572 GB, free: 11.57 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003414/0.2107, allocations: 181.1 kB / 0.9574 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2109, allocations: 160 kB / 0.9576 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2109, allocations: 0 / 0.9576 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.2109, allocations: 37.12 kB / 0.9576 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2115, allocations: 214.4 kB / 0.9578 GB, free: 11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.213, allocations: 0.9967 MB / 0.9588 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2131, allocations: 161.2 kB / 0.9589 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.2133, allocations: 104.7 kB / 0.959 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.2133, allocations: 36.5 kB / 0.9591 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/0.2133, allocations: 0 / 0.9591 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of Templates: time 0.01053/0.2239, allocations: 7.52 MB / 0.9664 GB, free: 2.324 MB / 0.8698 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.640289462171495]