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.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.001475/0.001475, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001619/0.001619, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.974/2.974, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.28 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3027, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2051/0.5078, allocations: 191.3 MB / 1.541 GB, free: 7.957 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.5233, allocations: 13.25 MB / 1.554 GB, free: 10.66 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009077/0.5243, allocations: 47.62 kB / 1.554 GB, free: 10.62 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5255, allocations: 437.1 kB / 1.554 GB, free: 10.19 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.528, allocations: 1.218 MB / 1.555 GB, free: 8.965 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.5297, allocations: 0.7457 MB / 1.556 GB, free: 8.223 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.0023/0.532, allocations: 2.053 MB / 1.558 GB, free: 6.164 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008682/0.5328, allocations: 0.6216 MB / 1.559 GB, free: 5.52 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.537, allocations: 2.059 MB / 1.561 GB, free: 3.453 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.5385, allocations: 0.6923 MB / 1.562 GB, free: 2.766 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5387, allocations: 80 kB / 1.562 GB, free: 2.688 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5404, allocations: 0.9276 MB / 1.562 GB, free: 1.758 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004058/0.5408, allocations: 394.8 kB / 1.563 GB, free: 1.371 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.5414, allocations: 0.4976 MB / 1.563 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.5434, allocations: 1.506 MB / 1.565 GB, free: 15.36 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5434, allocations: 0 / 1.565 GB, free: 15.36 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5434, allocations: 3.938 kB / 1.565 GB, free: 15.36 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5434, allocations: 8 kB / 1.565 GB, free: 15.35 MB / 1.264 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.001724/0.5451, allocations: 1.18 MB / 1.566 GB, free: 14.14 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.5452, allocations: 8.031 kB / 1.566 GB, free: 14.13 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5462, allocations: 231.1 kB / 1.566 GB, free: 13.9 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5473, allocations: 0.6155 MB / 1.567 GB, free: 13.25 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.5474, allocations: 58 kB / 1.567 GB, free: 13.2 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5475, allocations: 76 kB / 1.567 GB, free: 13.12 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5488, allocations: 0.9288 MB / 1.568 GB, free: 12.11 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5488, allocations: 7.938 kB / 1.568 GB, free: 12.1 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.5489, allocations: 39.92 kB / 1.568 GB, free: 12.06 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.5489, allocations: 29.31 kB / 1.568 GB, free: 12.04 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.5498, allocations: 0.6138 MB / 1.569 GB, free: 11.42 MB / 1.264 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.004418/0.5543, allocations: 4.614 MB / 1.573 GB, free: 6.5 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/0.555, allocations: 457.3 kB / 1.573 GB, free: 6.027 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.5553, allocations: 234.4 kB / 1.574 GB, free: 5.789 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.5555, allocations: 27.98 kB / 1.574 GB, free: 5.762 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5555, allocations: 38.56 kB / 1.574 GB, free: 5.715 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.5555, allocations: 0 / 1.574 GB, free: 5.715 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.002565/0.5581, allocations: 1.545 MB / 1.575 GB, free: 4.133 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.5582, allocations: 110.8 kB / 1.575 GB, free: 4 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.559, allocations: 0.7155 MB / 1.576 GB, free: 3.273 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.559, allocations: 37.7 kB / 1.576 GB, free: 3.23 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5593, allocations: 428.5 kB / 1.577 GB, free: 2.805 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5595, allocations: 166.6 kB / 1.577 GB, free: 2.641 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.5596, allocations: 122.3 kB / 1.577 GB, free: 2.516 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5598, allocations: 330 kB / 1.577 GB, free: 2.188 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.5601, allocations: 189.2 kB / 1.577 GB, free: 2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.5605, allocations: 417 kB / 1.578 GB, free: 1.5 MB / 1.264 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.002146/0.5627, allocations: 1.092 MB / 1.579 GB, free: 332 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.5627, allocations: 4 kB / 1.579 GB, free: 328 kB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009812/0.5637, allocations: 0.6726 MB / 1.579 GB, free: 15.64 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5637, allocations: 11.94 kB / 1.579 GB, free: 15.63 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5637, allocations: 8 kB / 1.579 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5637, allocations: 8 kB / 1.579 GB, free: 15.61 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.5642, allocations: 127.8 kB / 1.58 GB, free: 15.49 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.5642, allocations: 11.98 kB / 1.58 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.5646, allocations: 31.94 kB / 1.58 GB, free: 15.45 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.5647, allocations: 31.94 kB / 1.58 GB, free: 15.41 MB / 1.279 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.000338/0.565, allocations: 281.5 kB / 1.58 GB, free: 15.13 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5652, allocations: 91.45 kB / 1.58 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.5653, allocations: 99.64 kB / 1.58 GB, free: 14.94 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5654, allocations: 4 kB / 1.58 GB, free: 14.93 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5654, allocations: 0 / 1.58 GB, free: 14.93 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007396/0.5661, allocations: 0.7002 MB / 1.581 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.5684, allocations: 1.614 MB / 1.582 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5684, allocations: 4 kB / 1.582 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.5689, allocations: 99.89 kB / 1.582 GB, free: 12.33 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.5689, allocations: 15.88 kB / 1.582 GB, free: 12.32 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5689, allocations: 16 kB / 1.582 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.5689, allocations: 7.984 kB / 1.582 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.5689, allocations: 12.38 kB / 1.582 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.57, allocations: 0.869 MB / 1.583 GB, free: 11.35 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.5703, allocations: 135.4 kB / 1.583 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.5704, allocations: 19.98 kB / 1.583 GB, free: 11.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.5708, allocations: 12 kB / 1.583 GB, free: 11.18 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.5709, allocations: 39.81 kB / 1.584 GB, free: 11.14 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.5709, allocations: 20 kB / 1.584 GB, free: 11.12 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005954/0.5715, allocations: 0.5146 MB / 1.584 GB, free: 10.61 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.5715, allocations: 0 / 1.584 GB, free: 10.61 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.000647/0.5721, allocations: 203.9 kB / 1.584 GB, free: 10.41 MB / 1.279 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.0003707/0.5725, allocations: 171.8 kB / 1.584 GB, free: 10.25 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007381/0.5732, allocations: 460.6 kB / 1.585 GB, free: 9.797 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5732, allocations: 0 / 1.585 GB, free: 9.797 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.5735, allocations: 209.1 kB / 1.585 GB, free: 9.594 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.5754, allocations: 479.4 kB / 1.586 GB, free: 9.137 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.5778, allocations: 1.731 MB / 1.587 GB, free: 7.316 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5784, allocations: 1.032 MB / 1.588 GB, free: 6.254 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5786, allocations: 71.42 kB / 1.588 GB, free: 6.184 MB / 1.279 GB Notification: Performance of SimCode: time 3.01e-07/0.5786, allocations: 0 / 1.588 GB, free: 6.184 MB / 1.279 GB Notification: Performance of Templates: time 0.01807/0.5967, allocations: 13.01 MB / 1.601 GB, free: 9.293 MB / 1.295 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/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.184884256013902]