Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001654/0.001654, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001546/0.001546, allocations: 214 kB / 22.99 MB, free: 4.957 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.447/3.447, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [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.002641/0.002641, allocations: 64.7 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4353, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2182/0.6535, allocations: 150.7 MB / 1.474 GB, free: 9.699 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008194/0.6617, allocations: 3.215 MB / 1.477 GB, free: 6.477 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.663, allocations: 27.75 kB / 1.477 GB, free: 6.449 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.6643, allocations: 310.1 kB / 1.478 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.6678, allocations: 1.054 MB / 1.479 GB, free: 5.086 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.6701, allocations: 0.6866 MB / 1.479 GB, free: 4.402 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.6728, allocations: 1.576 MB / 1.481 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.6735, allocations: 370.6 kB / 1.481 GB, free: 2.449 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.6752, allocations: 0.7434 MB / 1.482 GB, free: 1.703 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.6766, allocations: 0.4958 MB / 1.483 GB, free: 1.211 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.6767, allocations: 59.94 kB / 1.483 GB, free: 1.152 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.6784, allocations: 0.6896 MB / 1.483 GB, free: 472 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.6788, allocations: 247.2 kB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.6792, allocations: 279 kB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.6812, allocations: 1.121 MB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.6812, allocations: 4 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6812, allocations: 0 / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.6813, allocations: 0 / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001724/0.683, allocations: 0.8548 MB / 1.486 GB, free: 13.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.683, allocations: 12.03 kB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.6844, allocations: 175.5 kB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6856, allocations: 470.5 kB / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.6856, allocations: 33 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6858, allocations: 44 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.687, allocations: 0.7143 MB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.687, allocations: 0 / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.6871, allocations: 20 kB / 1.487 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.6872, allocations: 20.98 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.6879, allocations: 407.7 kB / 1.488 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.6909, allocations: 1.137 MB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.6915, allocations: 276.8 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.6918, allocations: 180.7 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.692, allocations: 23.92 kB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.692, allocations: 38.56 kB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 3.026e-06/0.692, allocations: 0 / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002656/0.6947, allocations: 0.9781 MB / 1.49 GB, free: 9.254 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.6947, allocations: 59.34 kB / 1.49 GB, free: 9.184 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.6953, allocations: 357.6 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.6954, allocations: 37.7 kB / 1.491 GB, free: 8.789 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.6956, allocations: 268.5 kB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.6958, allocations: 115 kB / 1.491 GB, free: 8.41 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.6959, allocations: 73.69 kB / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002504/0.6962, allocations: 350.7 kB / 1.491 GB, free: 7.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.6964, allocations: 135.9 kB / 1.491 GB, free: 7.848 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.6968, allocations: 248.9 kB / 1.492 GB, free: 7.57 MB / 1.186 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.6989, allocations: 0.7943 MB / 1.492 GB, free: 6.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6989, allocations: 4 kB / 1.492 GB, free: 6.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007364/0.6997, allocations: 408.9 kB / 1.493 GB, free: 6.344 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.6997, allocations: 4 kB / 1.493 GB, free: 6.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6997, allocations: 0 / 1.493 GB, free: 6.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.6997, allocations: 4 kB / 1.493 GB, free: 6.336 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.7001, allocations: 76.09 kB / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.7001, allocations: 7.938 kB / 1.493 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.7005, allocations: 12 kB / 1.493 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.7005, allocations: 12 kB / 1.493 GB, free: 6.23 MB / 1.186 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0003779/0.7009, allocations: 219.4 kB / 1.493 GB, free: 6.008 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.701, allocations: 47.66 kB / 1.493 GB, free: 5.961 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.7011, allocations: 52.25 kB / 1.493 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7011, allocations: 4 kB / 1.493 GB, free: 5.902 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7011, allocations: 0 / 1.493 GB, free: 5.902 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005877/0.7017, allocations: 404.3 kB / 1.494 GB, free: 5.477 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.7037, allocations: 1.077 MB / 1.495 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.7037, allocations: 4.5 kB / 1.495 GB, free: 4.309 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.704, allocations: 79.89 kB / 1.495 GB, free: 4.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.704, allocations: 7.938 kB / 1.495 GB, free: 4.223 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.7041, allocations: 15.94 kB / 1.495 GB, free: 4.207 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.7041, allocations: 7.938 kB / 1.495 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7041, allocations: 4 kB / 1.495 GB, free: 4.195 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.7051, allocations: 0.6957 MB / 1.495 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.7053, allocations: 83.66 kB / 1.496 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.7054, allocations: 15.98 kB / 1.496 GB, free: 3.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.7058, allocations: 21 kB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.7058, allocations: 35.83 kB / 1.496 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.7059, allocations: 23.98 kB / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002929/0.7062, allocations: 251.2 kB / 1.496 GB, free: 3.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7062, allocations: 0 / 1.496 GB, free: 3.016 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005994/0.7068, allocations: 140 kB / 1.496 GB, free: 2.879 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0003686/0.7071, allocations: 155.1 kB / 1.496 GB, free: 2.715 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006248/0.7078, allocations: 308.8 kB / 1.496 GB, free: 2.414 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7078, allocations: 4.062 kB / 1.496 GB, free: 2.41 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.708, allocations: 161.1 kB / 1.497 GB, free: 2.254 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7094, allocations: 283.7 kB / 1.497 GB, free: 1.98 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.7116, allocations: 1.123 MB / 1.498 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.712, allocations: 280.5 kB / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004353/0.7124, allocations: 124.2 kB / 1.498 GB, free: 368 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.7125, allocations: 39.44 kB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of SimCode: time 8.72e-07/0.7125, allocations: 0 / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of Templates: time 0.02166/0.7342, allocations: 10.45 MB / 1.509 GB, free: 6.117 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.202544728992507]