Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001664/0.001664, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002038/0.002038, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.466/1.466, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.284/3.284, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.002073/0.002073, allocations: 73.89 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3878, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.216/0.6038, allocations: 168.6 MB / 1.529 GB, free: 4.375 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.6144, allocations: 5.444 MB / 1.535 GB, free: 14.92 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.6157, allocations: 55.5 kB / 1.535 GB, free: 14.86 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.6175, allocations: 0.5591 MB / 1.535 GB, free: 14.3 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005162/0.6226, allocations: 1.933 MB / 1.537 GB, free: 12.36 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.6258, allocations: 1.211 MB / 1.538 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.6298, allocations: 2.994 MB / 1.541 GB, free: 8.152 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.6311, allocations: 0.7396 MB / 1.542 GB, free: 7.402 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.634, allocations: 1.32 MB / 1.543 GB, free: 6.078 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.6364, allocations: 0.9257 MB / 1.544 GB, free: 5.156 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.6367, allocations: 108 kB / 1.544 GB, free: 5.051 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.6395, allocations: 1.181 MB / 1.545 GB, free: 3.867 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000596/0.6401, allocations: 482.5 kB / 1.546 GB, free: 3.395 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008927/0.641, allocations: 0.5447 MB / 1.546 GB, free: 2.848 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.6447, allocations: 2.11 MB / 1.548 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.6447, allocations: 3.984 kB / 1.548 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6447, allocations: 0 / 1.548 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.6447, allocations: 0 / 1.548 GB, free: 0.7266 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002782/0.6475, allocations: 1.469 MB / 1.55 GB, free: 15.22 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6475, allocations: 8.031 kB / 1.55 GB, free: 15.21 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.6496, allocations: 323 kB / 1.55 GB, free: 14.89 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.6513, allocations: 0.7916 MB / 1.551 GB, free: 14.07 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.6514, allocations: 58 kB / 1.551 GB, free: 14.02 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6515, allocations: 91.95 kB / 1.551 GB, free: 13.93 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6535, allocations: 1.369 MB / 1.552 GB, free: 12.45 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.6535, allocations: 0 / 1.552 GB, free: 12.45 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.6536, allocations: 36 kB / 1.552 GB, free: 12.41 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.6537, allocations: 34 kB / 1.552 GB, free: 12.38 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.6552, allocations: 0.8198 MB / 1.553 GB, free: 11.55 MB / 1.248 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.005506/0.6607, allocations: 2.383 MB / 1.556 GB, free: 9.121 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.6616, allocations: 480.4 kB / 1.556 GB, free: 8.645 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.6621, allocations: 282.5 kB / 1.556 GB, free: 8.367 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.6622, allocations: 24.42 kB / 1.556 GB, free: 8.344 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.6623, allocations: 46.92 kB / 1.556 GB, free: 8.289 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.6623, allocations: 4 kB / 1.556 GB, free: 8.285 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004197/0.6665, allocations: 1.691 MB / 1.558 GB, free: 6.551 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6665, allocations: 59.84 kB / 1.558 GB, free: 6.48 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/0.6674, allocations: 0.6449 MB / 1.559 GB, free: 5.832 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.6674, allocations: 37.7 kB / 1.559 GB, free: 5.789 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.6678, allocations: 500 kB / 1.559 GB, free: 5.293 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.668, allocations: 182.4 kB / 1.559 GB, free: 5.113 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6682, allocations: 114.3 kB / 1.56 GB, free: 4.996 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6684, allocations: 382.7 kB / 1.56 GB, free: 4.613 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.6689, allocations: 241.2 kB / 1.56 GB, free: 4.379 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.6695, allocations: 412.5 kB / 1.56 GB, free: 3.922 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.6734, allocations: 1.456 MB / 1.562 GB, free: 2.43 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6734, allocations: 0 / 1.562 GB, free: 2.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001475/0.6748, allocations: 0.7758 MB / 1.563 GB, free: 1.641 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6749, allocations: 4 kB / 1.563 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6749, allocations: 4 kB / 1.563 GB, free: 1.633 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/0.6752, allocations: 90 kB / 1.563 GB, free: 1.539 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.6759, allocations: 151.8 kB / 1.563 GB, free: 1.391 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.6791, allocations: 3.038 MB / 1.566 GB, free: 14.15 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.6799, allocations: 19.98 kB / 1.566 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.68, allocations: 20 kB / 1.566 GB, free: 14.11 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.6805, allocations: 306.2 kB / 1.566 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.6807, allocations: 83.48 kB / 1.566 GB, free: 13.72 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.6808, allocations: 95.34 kB / 1.566 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6809, allocations: 8.062 kB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6809, allocations: 0 / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.6821, allocations: 0.839 MB / 1.567 GB, free: 12.69 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.685, allocations: 1.53 MB / 1.569 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.685, allocations: 11.88 kB / 1.569 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.6857, allocations: 131.8 kB / 1.569 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.6859, allocations: 73.22 kB / 1.569 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.686, allocations: 12 kB / 1.569 GB, free: 10.85 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.6878, allocations: 1.644 MB / 1.571 GB, free: 9.105 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6878, allocations: 4 kB / 1.571 GB, free: 9.102 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.6896, allocations: 1.066 MB / 1.572 GB, free: 7.977 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.6901, allocations: 143.5 kB / 1.572 GB, free: 7.836 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.6902, allocations: 12.19 kB / 1.572 GB, free: 7.824 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.6909, allocations: 47.94 kB / 1.572 GB, free: 7.781 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.691, allocations: 39.88 kB / 1.572 GB, free: 7.742 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.6911, allocations: 31.98 kB / 1.572 GB, free: 7.711 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006079/0.6917, allocations: 451.1 kB / 1.572 GB, free: 7.277 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6917, allocations: 4 kB / 1.572 GB, free: 7.273 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009018/0.6926, allocations: 287.9 kB / 1.573 GB, free: 6.992 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.6929, allocations: 173.9 kB / 1.573 GB, free: 6.812 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.6944, allocations: 0.78 MB / 1.573 GB, free: 6.008 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6944, allocations: 0 / 1.573 GB, free: 6.008 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.695, allocations: 403.8 kB / 1.574 GB, free: 5.602 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.6973, allocations: 0.4892 MB / 1.574 GB, free: 5.125 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.7006, allocations: 1.879 MB / 1.576 GB, free: 3.16 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.7012, allocations: 496.1 kB / 1.577 GB, free: 2.645 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.7015, allocations: 63.44 kB / 1.577 GB, free: 2.582 MB / 1.264 GB Notification: Performance of SimCode: time 1.102e-06/0.7015, allocations: 8 kB / 1.577 GB, free: 2.574 MB / 1.264 GB Notification: Performance of Templates: time 0.03264/0.7341, allocations: 20.9 MB / 1.597 GB, free: 13.76 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 15.573914340231568]