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.002109/0.002109, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002252/0.002252, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3.125 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.98/2.98, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 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.002027/0.002027, allocations: 67.89 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285/1.287, allocations: 173.7 MB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2628/1.55, allocations: 188.3 MB / 1.489 GB, free: 8.711 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01963/1.57, allocations: 13.24 MB / 1.502 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/1.571, allocations: 31.81 kB / 1.502 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/1.573, allocations: 445.1 kB / 1.503 GB, free: 10.96 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/1.577, allocations: 1.186 MB / 1.504 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/1.579, allocations: 0.7267 MB / 1.505 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003014/1.582, allocations: 2.012 MB / 1.507 GB, free: 7.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.583, allocations: 0.6208 MB / 1.507 GB, free: 6.383 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/1.588, allocations: 2.024 MB / 1.509 GB, free: 4.352 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/1.59, allocations: 0.6955 MB / 1.51 GB, free: 3.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/1.59, allocations: 80 kB / 1.51 GB, free: 3.582 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/1.592, allocations: 0.9042 MB / 1.511 GB, free: 2.676 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/1.592, allocations: 398.9 kB / 1.511 GB, free: 2.285 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006715/1.593, allocations: 0.4937 MB / 1.512 GB, free: 1.789 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/1.595, allocations: 1.506 MB / 1.513 GB, free: 284 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.595, allocations: 4 kB / 1.513 GB, free: 280 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.413e-06/1.595, allocations: 0 / 1.513 GB, free: 280 kB / 1.186 GB Notification: Performance of Transformations before backend: time 1.774e-05/1.595, allocations: 0 / 1.513 GB, free: 280 kB / 1.186 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.002131/1.597, allocations: 1.257 MB / 1.514 GB, free: 14.96 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.598, allocations: 8.031 kB / 1.514 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.599, allocations: 223.2 kB / 1.515 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.6, allocations: 0.6915 MB / 1.515 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/1.6, allocations: 61.94 kB / 1.515 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.6, allocations: 76 kB / 1.515 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.602, allocations: 0.9288 MB / 1.516 GB, free: 12.85 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.602, allocations: 11.94 kB / 1.516 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/1.602, allocations: 35.94 kB / 1.516 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/1.602, allocations: 25.31 kB / 1.516 GB, free: 12.78 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.603, allocations: 0.6177 MB / 1.517 GB, free: 12.16 MB / 1.201 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.005102/1.608, allocations: 4.666 MB / 1.522 GB, free: 7.188 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/1.609, allocations: 0.5406 MB / 1.522 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/1.609, allocations: 227.2 kB / 1.522 GB, free: 6.375 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.609, allocations: 108.9 kB / 1.522 GB, free: 6.25 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/1.609, allocations: 38.56 kB / 1.522 GB, free: 6.203 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/1.61, allocations: 0 / 1.522 GB, free: 6.203 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003056/1.613, allocations: 1.617 MB / 1.524 GB, free: 4.531 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/1.613, allocations: 110.8 kB / 1.524 GB, free: 4.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/1.614, allocations: 0.7194 MB / 1.525 GB, free: 3.672 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/1.614, allocations: 37.7 kB / 1.525 GB, free: 3.629 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/1.614, allocations: 424.5 kB / 1.525 GB, free: 3.207 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/1.614, allocations: 170.6 kB / 1.525 GB, free: 3.039 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/1.614, allocations: 118.2 kB / 1.526 GB, free: 2.914 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.615, allocations: 330 kB / 1.526 GB, free: 2.586 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/1.615, allocations: 193.2 kB / 1.526 GB, free: 2.398 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/1.615, allocations: 413 kB / 1.526 GB, free: 1.898 MB / 1.201 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.002436/1.618, allocations: 1.177 MB / 1.528 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.618, allocations: 0 / 1.528 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001106/1.619, allocations: 0.6764 MB / 1.528 GB, free: 15.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.619, allocations: 11.94 kB / 1.528 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.619, allocations: 12.06 kB / 1.528 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.619, allocations: 8 kB / 1.528 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/1.619, allocations: 127.8 kB / 1.528 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.619, allocations: 11.98 kB / 1.528 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/1.62, allocations: 27.94 kB / 1.528 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/1.62, allocations: 28 kB / 1.528 GB, free: 15.71 MB / 1.217 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.0004388/1.62, allocations: 276.1 kB / 1.529 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/1.621, allocations: 91.41 kB / 1.529 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/1.621, allocations: 91.67 kB / 1.529 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.621, allocations: 8 kB / 1.529 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.621, allocations: 0 / 1.529 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008155/1.622, allocations: 0.7028 MB / 1.53 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/1.624, allocations: 1.635 MB / 1.531 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.624, allocations: 7.984 kB / 1.531 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/1.625, allocations: 103.8 kB / 1.531 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.625, allocations: 11.94 kB / 1.531 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.625, allocations: 16 kB / 1.531 GB, free: 12.58 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.625, allocations: 4.062 kB / 1.531 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.625, allocations: 15.94 kB / 1.531 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/1.626, allocations: 0.8699 MB / 1.532 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/1.626, allocations: 212.5 kB / 1.532 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.627, allocations: 19.98 kB / 1.532 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.627, allocations: 16 kB / 1.532 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/1.627, allocations: 39.83 kB / 1.532 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/1.627, allocations: 20 kB / 1.532 GB, free: 11.3 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007032/1.628, allocations: 0.5107 MB / 1.533 GB, free: 10.8 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.628, allocations: 4 kB / 1.533 GB, free: 10.79 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008095/1.629, allocations: 199.9 kB / 1.533 GB, free: 10.6 MB / 1.217 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.000531/1.629, allocations: 195.7 kB / 1.533 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008511/1.63, allocations: 463.6 kB / 1.534 GB, free: 9.957 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.63, allocations: 0 / 1.534 GB, free: 9.957 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/1.63, allocations: 205.4 kB / 1.534 GB, free: 9.758 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.632, allocations: 493.7 kB / 1.534 GB, free: 9.293 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/1.635, allocations: 1.681 MB / 1.536 GB, free: 7.531 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/1.636, allocations: 1.036 MB / 1.537 GB, free: 6.469 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006555/1.637, allocations: 203 kB / 1.537 GB, free: 6.266 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.637, allocations: 67.42 kB / 1.537 GB, free: 6.199 MB / 1.217 GB Notification: Performance of SimCode: time 1.172e-06/1.637, allocations: 0 / 1.537 GB, free: 6.199 MB / 1.217 GB Notification: Performance of Templates: time 0.02983/1.667, allocations: 15.44 MB / 1.552 GB, free: 6.984 MB / 1.232 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/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: 10.957311477512121]