Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 110.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8465, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2253/1.072, allocations: 187.3 MB / 1.446 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01737/1.089, allocations: 13.08 MB / 1.458 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/1.091, allocations: 35.81 kB / 1.458 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/1.092, allocations: 429.1 kB / 1.459 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/1.095, allocations: 1.147 MB / 1.46 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/1.097, allocations: 0.7138 MB / 1.461 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002881/1.1, allocations: 2.003 MB / 1.463 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/1.102, allocations: 0.8432 MB / 1.463 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/1.106, allocations: 1.942 MB / 1.465 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/1.108, allocations: 0.6515 MB / 1.466 GB, free: 7.906 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/1.108, allocations: 84 kB / 1.466 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/1.11, allocations: 0.8614 MB / 1.467 GB, free: 6.961 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/1.111, allocations: 379 kB / 1.467 GB, free: 6.59 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006205/1.111, allocations: 0.5015 MB / 1.468 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/1.114, allocations: 1.499 MB / 1.469 GB, free: 4.582 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.114, allocations: 3.984 kB / 1.469 GB, free: 4.578 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.653e-06/1.114, allocations: 0 / 1.469 GB, free: 4.578 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.114, allocations: 0 / 1.469 GB, free: 4.578 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001968/1.116, allocations: 1.257 MB / 1.47 GB, free: 3.27 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.116, allocations: 12.03 kB / 1.47 GB, free: 3.258 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/1.117, allocations: 227.1 kB / 1.471 GB, free: 3.035 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/1.118, allocations: 0.6837 MB / 1.471 GB, free: 2.309 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/1.118, allocations: 58 kB / 1.471 GB, free: 2.254 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.118, allocations: 80 kB / 1.471 GB, free: 2.176 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.12, allocations: 0.9326 MB / 1.472 GB, free: 1.156 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.12, allocations: 7.938 kB / 1.472 GB, free: 1.148 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/1.12, allocations: 35.94 kB / 1.472 GB, free: 1.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/1.12, allocations: 33.3 kB / 1.472 GB, free: 1.082 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/1.121, allocations: 0.6138 MB / 1.473 GB, free: 480 kB / 1.154 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.004688/1.125, allocations: 4.673 MB / 1.478 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/1.126, allocations: 0.5401 MB / 1.478 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/1.127, allocations: 242.5 kB / 1.478 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1.127, allocations: 101.1 kB / 1.478 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/1.127, allocations: 46.55 kB / 1.478 GB, free: 10.48 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/1.127, allocations: 0 / 1.478 GB, free: 10.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.002876/1.13, allocations: 1.61 MB / 1.48 GB, free: 8.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/1.13, allocations: 110.8 kB / 1.48 GB, free: 8.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/1.131, allocations: 0.7235 MB / 1.481 GB, free: 7.953 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/1.131, allocations: 33.7 kB / 1.481 GB, free: 7.914 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/1.131, allocations: 424.5 kB / 1.481 GB, free: 7.492 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.131, allocations: 166.6 kB / 1.481 GB, free: 7.328 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.132, allocations: 126.2 kB / 1.482 GB, free: 7.195 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.132, allocations: 326 kB / 1.482 GB, free: 6.871 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/1.132, allocations: 189.2 kB / 1.482 GB, free: 6.688 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/1.132, allocations: 425 kB / 1.482 GB, free: 6.176 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.135, allocations: 1.171 MB / 1.484 GB, free: 4.902 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.135, allocations: 4 kB / 1.484 GB, free: 4.898 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00111/1.136, allocations: 0.6794 MB / 1.484 GB, free: 4.211 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.136, allocations: 11.94 kB / 1.484 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.136, allocations: 4 kB / 1.484 GB, free: 4.195 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.136, allocations: 12.78 kB / 1.484 GB, free: 4.184 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/1.137, allocations: 131.8 kB / 1.484 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.137, allocations: 12 kB / 1.484 GB, free: 4.043 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/1.137, allocations: 31.92 kB / 1.484 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/1.137, allocations: 24 kB / 1.484 GB, free: 3.988 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004047/1.138, allocations: 277.5 kB / 1.485 GB, free: 3.707 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.138, allocations: 87.48 kB / 1.485 GB, free: 3.621 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/1.138, allocations: 99.66 kB / 1.485 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.138, allocations: 7.938 kB / 1.485 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.138, allocations: 4 kB / 1.485 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007726/1.139, allocations: 0.6911 MB / 1.486 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.141, allocations: 1.643 MB / 1.487 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.141, allocations: 8.062 kB / 1.487 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/1.142, allocations: 99.83 kB / 1.487 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.142, allocations: 7.938 kB / 1.487 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/1.142, allocations: 16 kB / 1.487 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.142, allocations: 11.98 kB / 1.487 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.142, allocations: 7.938 kB / 1.487 GB, free: 0.832 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.143, allocations: 0.866 MB / 1.488 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/1.143, allocations: 216.5 kB / 1.488 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/1.143, allocations: 12 kB / 1.488 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.144, allocations: 19.98 kB / 1.488 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/1.144, allocations: 39.84 kB / 1.488 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/1.144, allocations: 23.98 kB / 1.488 GB, free: 15.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006507/1.144, allocations: 0.5068 MB / 1.489 GB, free: 15.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.144, allocations: 0 / 1.489 GB, free: 15.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007596/1.145, allocations: 207.9 kB / 1.489 GB, free: 14.86 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (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 Backend phase and start with SimCode phase: time 0.0004959/1.146, allocations: 199 kB / 1.489 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008141/1.147, allocations: 480.8 kB / 1.49 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.147, allocations: 0 / 1.49 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/1.147, allocations: 211.9 kB / 1.49 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.149, allocations: 476.7 kB / 1.49 GB, free: 13.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/1.152, allocations: 1.748 MB / 1.492 GB, free: 11.72 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/1.152, allocations: 1.032 MB / 1.493 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/1.152, allocations: 71.42 kB / 1.493 GB, free: 10.59 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/1.152, allocations: 0 / 1.493 GB, free: 10.59 MB / 1.186 GB Notification: Performance of Templates: time 0.02052/1.173, allocations: 12.97 MB / 1.506 GB, free: 13.74 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.639245100086555]